Class NonceAuthenticationEvaluatorImpl
- java.lang.Object
-
- com.evolveum.midpoint.model.impl.security.AuthenticationEvaluatorImpl<NonceType,NonceAuthenticationContext>
-
- com.evolveum.midpoint.model.impl.security.NonceAuthenticationEvaluatorImpl
-
- All Implemented Interfaces:
AuthenticationEvaluator<NonceAuthenticationContext>,org.springframework.beans.factory.Aware,org.springframework.context.MessageSourceAware
@Component("nonceAuthenticationEvaluator") public class NonceAuthenticationEvaluatorImpl extends AuthenticationEvaluatorImpl<NonceType,NonceAuthenticationContext>
-
-
Field Summary
-
Fields inherited from class com.evolveum.midpoint.model.impl.security.AuthenticationEvaluatorImpl
messages
-
-
Constructor Summary
Constructors Constructor Description NonceAuthenticationEvaluatorImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcheckEnteredCredentials(ConnectionEnvironment connEnv, NonceAuthenticationContext authCtx)protected NonceTypegetCredential(CredentialsType credentials)protected CredentialPolicyTypegetEffectiveCredentialPolicy(SecurityPolicyType securityPolicy, NonceAuthenticationContext authnCtx)protected booleanpasswordMatches(ConnectionEnvironment connEnv, @NotNull MidPointPrincipal principal, NonceType passwordType, NonceAuthenticationContext authCtx)protected booleansupportsActivation()protected booleansupportsAuthzCheck()protected voidvalidateCredentialNotNull(ConnectionEnvironment connEnv, @NotNull MidPointPrincipal principal, NonceType 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, NonceAuthenticationContext authCtx)
- Specified by:
checkEnteredCredentialsin classAuthenticationEvaluatorImpl<NonceType,NonceAuthenticationContext>
-
supportsAuthzCheck
protected boolean supportsAuthzCheck()
- Specified by:
supportsAuthzCheckin classAuthenticationEvaluatorImpl<NonceType,NonceAuthenticationContext>
-
getCredential
protected NonceType getCredential(CredentialsType credentials)
- Specified by:
getCredentialin classAuthenticationEvaluatorImpl<NonceType,NonceAuthenticationContext>
-
validateCredentialNotNull
protected void validateCredentialNotNull(ConnectionEnvironment connEnv, @NotNull @NotNull MidPointPrincipal principal, NonceType credential)
- Specified by:
validateCredentialNotNullin classAuthenticationEvaluatorImpl<NonceType,NonceAuthenticationContext>
-
passwordMatches
protected boolean passwordMatches(ConnectionEnvironment connEnv, @NotNull @NotNull MidPointPrincipal principal, NonceType passwordType, NonceAuthenticationContext authCtx)
- Specified by:
passwordMatchesin classAuthenticationEvaluatorImpl<NonceType,NonceAuthenticationContext>
-
getEffectiveCredentialPolicy
protected CredentialPolicyType getEffectiveCredentialPolicy(SecurityPolicyType securityPolicy, NonceAuthenticationContext authnCtx) throws SchemaException
- Specified by:
getEffectiveCredentialPolicyin classAuthenticationEvaluatorImpl<NonceType,NonceAuthenticationContext>- Throws:
SchemaException
-
supportsActivation
protected boolean supportsActivation()
- Specified by:
supportsActivationin classAuthenticationEvaluatorImpl<NonceType,NonceAuthenticationContext>
-
-