public class DefaultCarbonAuthenticator extends BasicAuthUIAuthenticator
| Modifier and Type | Field and Description |
|---|---|
protected static org.apache.commons.logging.Log |
log |
PASSWORD, REMEMBER_ME, USERNAME| Constructor and Description |
|---|
DefaultCarbonAuthenticator() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canHandle(javax.servlet.http.HttpServletRequest request)
This method will check whether given request can be handled by the authenticator.
|
String |
doAuthentication(Object credentials,
boolean isRememberMe,
org.apache.axis2.client.ServiceClient client,
javax.servlet.http.HttpServletRequest request) |
String |
getAuthenticatorName()
Returns the name of the authenticator.
|
void |
handleRememberMe(Map transportHeaders,
javax.servlet.http.HttpServletRequest httpServletRequest) |
void |
unauthenticate(Object object)
Invalidates the authentication session.
|
authenticate, authenticateWithCookiegetAuthenticationSkippingUrls, getPriority, getSessionValidationSkippingUrls, getUserNameFromCookie, handleSecurity, isAdminCookieSet, isDisabled, onSuccessAdminLogin, setAdminCookie, setUserInformation, skipLoginPagepublic boolean canHandle(javax.servlet.http.HttpServletRequest request)
true.
Else this will return false.canHandle in interface CarbonUIAuthenticatorcanHandle in class BasicAuthUIAuthenticatortrue if this authenticator can handle the request, else
false.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
doAuthentication in class BasicAuthUIAuthenticatororg.wso2.carbon.core.common.AuthenticationExceptionpublic void unauthenticate(Object object) throws Exception
CarbonUIAuthenticatorunauthenticate in interface CarbonUIAuthenticatorunauthenticate in class BasicAuthUIAuthenticatorobject - The request to invalidate TODO (?)Exception - If an error occurred during authentication process.public String getAuthenticatorName()
getAuthenticatorName in interface CarbonUIAuthenticatorgetAuthenticatorName in class BasicAuthUIAuthenticatorpublic void handleRememberMe(Map transportHeaders, javax.servlet.http.HttpServletRequest httpServletRequest) throws org.wso2.carbon.core.common.AuthenticationException
handleRememberMe in class BasicAuthUIAuthenticatororg.wso2.carbon.core.common.AuthenticationExceptionCopyright © 2012-2015 The Apache Software Foundation. All Rights Reserved.