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 void
checkEnteredCredentials(ConnectionEnvironment connEnv, NonceAuthenticationContext authCtx)
protected NonceType
getCredential(CredentialsType credentials)
protected CredentialPolicyType
getEffectiveCredentialPolicy(SecurityPolicyType securityPolicy, NonceAuthenticationContext authnCtx)
protected boolean
passwordMatches(ConnectionEnvironment connEnv, MidPointPrincipal principal, NonceType passwordType, NonceAuthenticationContext authCtx)
protected boolean
suportsAuthzCheck()
protected boolean
supportsActivation()
protected void
validateCredentialNotNull(ConnectionEnvironment connEnv, MidPointPrincipal principal, NonceType credential)
-
Methods inherited from class com.evolveum.midpoint.model.impl.security.AuthenticationEvaluatorImpl
authenticate, authenticateUserPreAuthenticated, checkCredentials, decryptAndMatch, getAndCheckUserPassword, getDecryptedValue, recordAuthenticationFailure, recordAuthenticationFailure, recordPasswordAuthenticationFailure, recordPasswordAuthenticationSuccess, setMessageSource
-
-
-
-
Method Detail
-
checkEnteredCredentials
protected void checkEnteredCredentials(ConnectionEnvironment connEnv, NonceAuthenticationContext authCtx)
- Specified by:
checkEnteredCredentials
in classAuthenticationEvaluatorImpl<NonceType,NonceAuthenticationContext>
-
suportsAuthzCheck
protected boolean suportsAuthzCheck()
- Specified by:
suportsAuthzCheck
in classAuthenticationEvaluatorImpl<NonceType,NonceAuthenticationContext>
-
getCredential
protected NonceType getCredential(CredentialsType credentials)
- Specified by:
getCredential
in classAuthenticationEvaluatorImpl<NonceType,NonceAuthenticationContext>
-
validateCredentialNotNull
protected void validateCredentialNotNull(ConnectionEnvironment connEnv, MidPointPrincipal principal, NonceType credential)
- Specified by:
validateCredentialNotNull
in classAuthenticationEvaluatorImpl<NonceType,NonceAuthenticationContext>
-
passwordMatches
protected boolean passwordMatches(ConnectionEnvironment connEnv, MidPointPrincipal principal, NonceType passwordType, NonceAuthenticationContext authCtx)
- Specified by:
passwordMatches
in classAuthenticationEvaluatorImpl<NonceType,NonceAuthenticationContext>
-
getEffectiveCredentialPolicy
protected CredentialPolicyType getEffectiveCredentialPolicy(SecurityPolicyType securityPolicy, NonceAuthenticationContext authnCtx) throws SchemaException
- Specified by:
getEffectiveCredentialPolicy
in classAuthenticationEvaluatorImpl<NonceType,NonceAuthenticationContext>
- Throws:
SchemaException
-
supportsActivation
protected boolean supportsActivation()
- Specified by:
supportsActivation
in classAuthenticationEvaluatorImpl<NonceType,NonceAuthenticationContext>
-
-