Package com.appslandia.plum.base
Class ReauthByCodeIdentityStore
- java.lang.Object
-
- com.appslandia.plum.base.IdentityStoreBase
-
- com.appslandia.plum.base.ReauthByCodeIdentityStore
-
- All Implemented Interfaces:
javax.security.enterprise.identitystore.IdentityStore
public abstract class ReauthByCodeIdentityStore extends IdentityStoreBase
- Author:
- Loc Ha
-
-
Field Summary
Fields Modifier and Type Field Description protected AppConfigappConfigstatic StringCONFIG_EXPIRY_LEEWAY_MSstatic intDEFAULT_EXPIRY_LEEWAY_MSprotected VerifyServiceverifyService
-
Constructor Summary
Constructors Constructor Description ReauthByCodeIdentityStore()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract PrincipalGroupsdoValidate(String identity, com.appslandia.common.base.Out<String> failureCode)protected PrincipalGroupsdoValidate(javax.security.enterprise.credential.Credential credential, com.appslandia.common.base.Out<String> failureCode)abstract Class<? extends ReauthByCodeCredential>getCredentialType()protected intgetExpiryLeewayMs()-
Methods inherited from class com.appslandia.plum.base.IdentityStoreBase
validate
-
-
-
-
Field Detail
-
DEFAULT_EXPIRY_LEEWAY_MS
public static final int DEFAULT_EXPIRY_LEEWAY_MS
- See Also:
- Constant Field Values
-
CONFIG_EXPIRY_LEEWAY_MS
public static final String CONFIG_EXPIRY_LEEWAY_MS
-
appConfig
@Inject protected AppConfig appConfig
-
verifyService
@Inject protected VerifyService verifyService
-
-
Method Detail
-
getExpiryLeewayMs
protected int getExpiryLeewayMs()
-
getCredentialType
public abstract Class<? extends ReauthByCodeCredential> getCredentialType()
- Specified by:
getCredentialTypein classIdentityStoreBase
-
doValidate
protected abstract PrincipalGroups doValidate(String identity, com.appslandia.common.base.Out<String> failureCode)
-
doValidate
protected PrincipalGroups doValidate(javax.security.enterprise.credential.Credential credential, com.appslandia.common.base.Out<String> failureCode)
- Specified by:
doValidatein classIdentityStoreBase
-
-