Class DefaultCarbonAuthenticator

    • Field Detail

      • log

        protected static final org.apache.commons.logging.Log log
    • Constructor Detail

      • DefaultCarbonAuthenticator

        public DefaultCarbonAuthenticator()
    • Method Detail

      • canHandle

        public boolean canHandle​(javax.servlet.http.HttpServletRequest request)
        This method will check whether given request can be handled by the authenticator. If authenticator is capable of handling given request this method will return true. Else this will return false.
        Specified by:
        canHandle in interface CarbonUIAuthenticator
        Overrides:
        canHandle in class BasicAuthUIAuthenticator
        Returns:
        true if this authenticator can handle the request, else false.
      • doAuthentication

        public String doAuthentication​(Object credentials,
                                       boolean isRememberMe,
                                       org.apache.axis2.client.ServiceClient client,
                                       javax.servlet.http.HttpServletRequest request)
                                throws org.wso2.carbon.core.common.AuthenticationException
        Overrides:
        doAuthentication in class BasicAuthUIAuthenticator
        Throws:
        org.wso2.carbon.core.common.AuthenticationException
      • handleRememberMe

        public void handleRememberMe​(Map transportHeaders,
                                     javax.servlet.http.HttpServletRequest httpServletRequest)
                              throws org.wso2.carbon.core.common.AuthenticationException
        Overrides:
        handleRememberMe in class BasicAuthUIAuthenticator
        Throws:
        org.wso2.carbon.core.common.AuthenticationException