Package org.apereo.cas.authentication
Class GroovyAuthenticationPreProcessor
java.lang.Object
org.apereo.cas.authentication.GroovyAuthenticationPreProcessor
- All Implemented Interfaces:
org.apereo.cas.authentication.AuthenticationPreProcessor,org.springframework.beans.factory.DisposableBean,org.springframework.core.Ordered
public class GroovyAuthenticationPreProcessor
extends Object
implements org.apereo.cas.authentication.AuthenticationPreProcessor, org.springframework.beans.factory.DisposableBean
This is
GroovyAuthenticationPreProcessor.- Since:
- 5.3.0
-
Field Summary
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
ConstructorsConstructorDescriptionGroovyAuthenticationPreProcessor(org.springframework.core.io.Resource groovyResource) -
Method Summary
Modifier and TypeMethodDescriptionvoiddestroy()intgetOrder()org.apereo.cas.util.scripting.ExecutableCompiledScriptbooleanprocess(org.apereo.cas.authentication.AuthenticationTransaction transaction) voidsetOrder(int order) booleansupports(org.apereo.cas.authentication.Credential credential)
-
Constructor Details
-
GroovyAuthenticationPreProcessor
public GroovyAuthenticationPreProcessor(org.springframework.core.io.Resource groovyResource)
-
-
Method Details
-
process
public boolean process(org.apereo.cas.authentication.AuthenticationTransaction transaction) throws Throwable - Specified by:
processin interfaceorg.apereo.cas.authentication.AuthenticationPreProcessor- Throws:
Throwable
-
supports
- Specified by:
supportsin interfaceorg.apereo.cas.authentication.AuthenticationPreProcessor- Throws:
Throwable
-
destroy
public void destroy()- Specified by:
destroyin interfaceorg.springframework.beans.factory.DisposableBean
-
getWatchableScript
public org.apereo.cas.util.scripting.ExecutableCompiledScript getWatchableScript() -
getOrder
public int getOrder()- Specified by:
getOrderin interfaceorg.apereo.cas.authentication.AuthenticationPreProcessor- Specified by:
getOrderin interfaceorg.springframework.core.Ordered
-
setOrder
public void setOrder(int order)
-