Class SecurityQuestionAuthenticationEvaluatorImpl
- java.lang.Object
-
- com.evolveum.midpoint.model.impl.security.AuthenticationEvaluatorImpl<SecurityQuestionsCredentialsType,SecurityQuestionsAuthenticationContext>
-
- com.evolveum.midpoint.model.impl.security.SecurityQuestionAuthenticationEvaluatorImpl
-
- All Implemented Interfaces:
AuthenticationEvaluator<SecurityQuestionsAuthenticationContext>,org.springframework.beans.factory.Aware,org.springframework.context.MessageSourceAware
@Component("securityQuestionsAuthenticationEvaluator") public class SecurityQuestionAuthenticationEvaluatorImpl extends AuthenticationEvaluatorImpl<SecurityQuestionsCredentialsType,SecurityQuestionsAuthenticationContext>
-
-
Field Summary
-
Fields inherited from class com.evolveum.midpoint.model.impl.security.AuthenticationEvaluatorImpl
messages
-
-
Constructor Summary
Constructors Constructor Description SecurityQuestionAuthenticationEvaluatorImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcheckEnteredCredentials(ConnectionEnvironment connEnv, SecurityQuestionsAuthenticationContext authCtx)protected SecurityQuestionsCredentialsTypegetCredential(CredentialsType credentials)protected CredentialPolicyTypegetEffectiveCredentialPolicy(SecurityPolicyType securityPolicy, SecurityQuestionsAuthenticationContext authnCtx)protected booleanpasswordMatches(ConnectionEnvironment connEnv, @NotNull MidPointPrincipal principal, SecurityQuestionsCredentialsType passwordType, SecurityQuestionsAuthenticationContext authCtx)protected booleansupportsActivation()protected booleansupportsAuthzCheck()protected voidvalidateCredentialNotNull(ConnectionEnvironment connEnv, @NotNull MidPointPrincipal principal, SecurityQuestionsCredentialsType credential)-
Methods inherited from class com.evolveum.midpoint.model.impl.security.AuthenticationEvaluatorImpl
authenticate, authenticateUserPreAuthenticated, checkCredentials, decryptAndMatch, getAndCheckPrincipal, getAndCheckUserPassword, getDecryptedValue, hasAnyAuthorization, recordAuthenticationBehavior, recordAuthenticationFailure, recordAuthenticationFailure, recordPasswordAuthenticationSuccess, setMessageSource
-
-
-
-
Method Detail
-
checkEnteredCredentials
protected void checkEnteredCredentials(ConnectionEnvironment connEnv, SecurityQuestionsAuthenticationContext authCtx)
-
supportsAuthzCheck
protected boolean supportsAuthzCheck()
-
getCredential
protected SecurityQuestionsCredentialsType getCredential(CredentialsType credentials)
- Specified by:
getCredentialin classAuthenticationEvaluatorImpl<SecurityQuestionsCredentialsType,SecurityQuestionsAuthenticationContext>
-
validateCredentialNotNull
protected void validateCredentialNotNull(ConnectionEnvironment connEnv, @NotNull @NotNull MidPointPrincipal principal, SecurityQuestionsCredentialsType credential)
-
passwordMatches
protected boolean passwordMatches(ConnectionEnvironment connEnv, @NotNull @NotNull MidPointPrincipal principal, SecurityQuestionsCredentialsType passwordType, SecurityQuestionsAuthenticationContext authCtx)
- Specified by:
passwordMatchesin classAuthenticationEvaluatorImpl<SecurityQuestionsCredentialsType,SecurityQuestionsAuthenticationContext>
-
getEffectiveCredentialPolicy
protected CredentialPolicyType getEffectiveCredentialPolicy(SecurityPolicyType securityPolicy, SecurityQuestionsAuthenticationContext authnCtx)
-
supportsActivation
protected boolean supportsActivation()
-
-