Class GroovyPasswordPolicyHandlingStrategy<AuthenticationResponse>
java.lang.Object
org.apereo.cas.authentication.support.password.GroovyPasswordPolicyHandlingStrategy<AuthenticationResponse>
- All Implemented Interfaces:
org.apereo.cas.authentication.AuthenticationAccountStateHandler<AuthenticationResponse,,PasswordPolicyContext> org.apereo.cas.authentication.AuthenticationPasswordPolicyHandlingStrategy<AuthenticationResponse,PasswordPolicyContext>
public class GroovyPasswordPolicyHandlingStrategy<AuthenticationResponse>
extends Object
implements org.apereo.cas.authentication.AuthenticationPasswordPolicyHandlingStrategy<AuthenticationResponse,PasswordPolicyContext>
This is
GroovyPasswordPolicyHandlingStrategy.- Since:
- 5.2.0
-
Constructor Summary
ConstructorsConstructorDescriptionGroovyPasswordPolicyHandlingStrategy(org.apereo.cas.util.scripting.ExecutableCompiledScript watchableScript, org.springframework.context.ApplicationContext applicationContext) GroovyPasswordPolicyHandlingStrategy(org.springframework.core.io.Resource groovyScript, org.springframework.context.ApplicationContext applicationContext) -
Method Summary
Modifier and TypeMethodDescriptionList<org.apereo.cas.authentication.MessageDescriptor> handle(AuthenticationResponse response, PasswordPolicyContext configuration) Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apereo.cas.authentication.AuthenticationPasswordPolicyHandlingStrategy
supports
-
Constructor Details
-
GroovyPasswordPolicyHandlingStrategy
public GroovyPasswordPolicyHandlingStrategy(org.springframework.core.io.Resource groovyScript, org.springframework.context.ApplicationContext applicationContext) -
GroovyPasswordPolicyHandlingStrategy
public GroovyPasswordPolicyHandlingStrategy(org.apereo.cas.util.scripting.ExecutableCompiledScript watchableScript, org.springframework.context.ApplicationContext applicationContext)
-
-
Method Details
-
handle
public List<org.apereo.cas.authentication.MessageDescriptor> handle(AuthenticationResponse response, PasswordPolicyContext configuration) throws Throwable - Specified by:
handlein interfaceorg.apereo.cas.authentication.AuthenticationAccountStateHandler<AuthenticationResponse,PasswordPolicyContext> - Throws:
Throwable
-