public class BasicAuthUIAuthenticator extends AbstractCarbonUIAuthenticator
log, PASSWORD, REMEMBER_ME, USERNAME| Constructor and Description |
|---|
BasicAuthUIAuthenticator() |
| Modifier and Type | Method and Description |
|---|---|
void |
authenticate(javax.servlet.http.HttpServletRequest request)
Authenticates the given request.
|
void |
authenticateWithCookie(javax.servlet.http.HttpServletRequest request)
Handles authentication during a session expiration.
|
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.
|
getAuthenticationSkippingUrls, getPriority, getSessionValidationSkippingUrls, getUserNameFromCookie, handleSecurity, isAdminCookieSet, isDisabled, onSuccessAdminLogin, setAdminCookie, setUserInformation, skipLoginPagepublic boolean canHandle(javax.servlet.http.HttpServletRequest request)
CarbonUIAuthenticatortrue.
Else this will return false.true if this authenticator can handle the request, else
false.public void authenticate(javax.servlet.http.HttpServletRequest request)
throws org.wso2.carbon.core.common.AuthenticationException
CarbonUIAuthenticatororg.wso2.carbon.core.common.AuthenticationException - If an error occurred during authentication process.public void authenticateWithCookie(javax.servlet.http.HttpServletRequest request)
throws org.wso2.carbon.core.common.AuthenticationException
CarbonUIAuthenticatororg.wso2.carbon.core.common.AuthenticationException - If an error occurred during authentication process.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 AbstractCarbonUIAuthenticatororg.wso2.carbon.core.common.AuthenticationExceptionpublic void handleRememberMe(Map transportHeaders, javax.servlet.http.HttpServletRequest httpServletRequest) throws org.wso2.carbon.core.common.AuthenticationException
handleRememberMe in class AbstractCarbonUIAuthenticatorserviceClient - httpServletRequest - org.apache.axis2.AxisFaultorg.wso2.carbon.core.common.AuthenticationExceptionpublic void unauthenticate(Object object) throws Exception
CarbonUIAuthenticatorobject - The request to invalidate TODO (?)Exception - If an error occurred during authentication process.public String getAuthenticatorName()
CarbonUIAuthenticatorCopyright © 2012-2015 The Apache Software Foundation. All Rights Reserved.