Package com.appslandia.plum.base
Class FormAuthHandler
- java.lang.Object
-
- com.appslandia.plum.base.FormAuthHandler
-
- All Implemented Interfaces:
AuthHandler
public abstract class FormAuthHandler extends Object implements AuthHandler
- Author:
- Loc Ha
-
-
Constructor Summary
Constructors Constructor Description FormAuthHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaskAuthenticate(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, RequestContext requestContext)StringgetAuthMethod()booleanisReauthentication(javax.servlet.http.HttpServletRequest request)booleanisRememberMe(javax.security.enterprise.authentication.mechanism.http.HttpMessageContext httpMessageContext)javax.security.enterprise.credential.CredentialparseCredential(javax.servlet.http.HttpServletRequest request)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.appslandia.plum.base.AuthHandler
askReauthenticate, cleanSubject, secureResponse
-
-
-
-
Field Detail
-
appConfig
@Inject protected AppConfig appConfig
-
-
Method Detail
-
getAuthMethod
public String getAuthMethod()
- Specified by:
getAuthMethodin interfaceAuthHandler
-
parseCredential
public javax.security.enterprise.credential.Credential parseCredential(javax.servlet.http.HttpServletRequest request)
- Specified by:
parseCredentialin interfaceAuthHandler
-
isReauthentication
public boolean isReauthentication(javax.servlet.http.HttpServletRequest request)
- Specified by:
isReauthenticationin interfaceAuthHandler
-
isRememberMe
public boolean isRememberMe(javax.security.enterprise.authentication.mechanism.http.HttpMessageContext httpMessageContext)
- Specified by:
isRememberMein interfaceAuthHandler
-
askAuthenticate
public void askAuthenticate(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, RequestContext requestContext) throws Exception- Specified by:
askAuthenticatein interfaceAuthHandler- Throws:
Exception
-
-