Interface HandlerRedirect


  • @ConsumerType
    public interface HandlerRedirect
    This interface is intended to be implemented by an application which wants, upon authentication, to redirect the user to an uri instead of login in to the local instance. A HandlerRedirect instance is bind to all specific AuthenticationHandlers supporting the redirect handler.
    • Method Detail

      • getRedirectUri

        java.lang.String getRedirectUri​(HttpServletRequest request,
                                        java.lang.String userId,
                                        java.util.Map<java.lang.String,​java.lang.Object> props)
        Return an URI to be redirected to instead of login in to the instance
        Parameters:
        request - the request containing the information for the authentication
        userId - provider's userId
        props - map of all provider's properties for this userId
        Returns:
        the redirect URI or null if the redirection must not happen.