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 void
checkEnteredCredentials(ConnectionEnvironment connEnv, SecurityQuestionsAuthenticationContext authCtx)
protected SecurityQuestionsCredentialsType
getCredential(CredentialsType credentials)
protected CredentialPolicyType
getEffectiveCredentialPolicy(SecurityPolicyType securityPolicy, SecurityQuestionsAuthenticationContext authnCtx)
protected boolean
passwordMatches(ConnectionEnvironment connEnv, @NotNull MidPointPrincipal principal, SecurityQuestionsCredentialsType passwordType, SecurityQuestionsAuthenticationContext authCtx)
protected boolean
supportsActivation()
protected boolean
supportsAuthzCheck()
protected void
validateCredentialNotNull(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:
getCredential
in 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:
passwordMatches
in classAuthenticationEvaluatorImpl<SecurityQuestionsCredentialsType,SecurityQuestionsAuthenticationContext>
-
getEffectiveCredentialPolicy
protected CredentialPolicyType getEffectiveCredentialPolicy(SecurityPolicyType securityPolicy, SecurityQuestionsAuthenticationContext authnCtx)
-
supportsActivation
protected boolean supportsActivation()
-
-