public interface CarbonUIAuthenticator
| 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.
|
List<String> |
getAuthenticationSkippingUrls()
Gets a list of urls to skip authentication.
|
String |
getAuthenticatorName()
Returns the name of the authenticator.
|
int |
getPriority()
Gets the authenticator priority.
|
List<String> |
getSessionValidationSkippingUrls()
Gets a list of urls to skip session validation.
|
boolean |
isDisabled()
By default all the authenticators found in the system are enabled.
|
boolean |
skipLoginPage()
If Authenticator does not need to have login page - set this to true.
|
void |
unauthenticate(Object object)
Invalidates the authentication session.
|
boolean canHandle(javax.servlet.http.HttpServletRequest request)
true.
Else this will return false.object - The request to authenticate.true if this authenticator can handle the request, else
false.void authenticate(javax.servlet.http.HttpServletRequest request)
throws org.wso2.carbon.core.common.AuthenticationException
object - The request to be authenticate.org.wso2.carbon.core.common.AuthenticationException - If an error occurred during authentication process.void authenticateWithCookie(javax.servlet.http.HttpServletRequest request)
throws org.wso2.carbon.core.common.AuthenticationException
object - The request to be re-authenticated.org.wso2.carbon.core.common.AuthenticationException - If an error occurred during authentication process.void unauthenticate(Object object) throws Exception
object - The request to invalidate TODO (?)Exception - If an error occurred during authentication process.int getPriority()
String getAuthenticatorName()
boolean isDisabled()
true if this authenticator is disabled, else false.List<String> getAuthenticationSkippingUrls()
List<String> getSessionValidationSkippingUrls()
boolean skipLoginPage()
Copyright © 2012-2015 The Apache Software Foundation. All Rights Reserved.