Package com.appslandia.plum.base
Class BasicAuthHandler
- java.lang.Object
-
- com.appslandia.plum.base.HttpAuthHandler
-
- com.appslandia.plum.base.BasicAuthHandler
-
- All Implemented Interfaces:
AuthHandler
public abstract class BasicAuthHandler extends HttpAuthHandler
- Author:
- Loc Ha
-
-
Constructor Summary
Constructors Constructor Description BasicAuthHandler()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract javax.security.enterprise.credential.UsernamePasswordCredentialcreateCredential(String userName, String password)StringgetAuthMethod()protected javax.security.enterprise.credential.CredentialparseCredential(String credential)-
Methods inherited from class com.appslandia.plum.base.HttpAuthHandler
askAuthenticate, askReauthenticate, isRememberMe, parseCredential
-
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
cleanSubject, isReauthentication, secureResponse
-
-
-
-
Method Detail
-
getAuthMethod
public String getAuthMethod()
-
createCredential
protected abstract javax.security.enterprise.credential.UsernamePasswordCredential createCredential(String userName, String password)
-
parseCredential
protected javax.security.enterprise.credential.Credential parseCredential(String credential) throws Exception
- Specified by:
parseCredentialin classHttpAuthHandler- Throws:
Exception
-
-