Class GroovyAuthenticationHandlerResolver
java.lang.Object
org.apereo.cas.authentication.handler.GroovyAuthenticationHandlerResolver
- All Implemented Interfaces:
org.apereo.cas.authentication.AuthenticationHandlerResolver,org.springframework.beans.factory.DisposableBean,org.springframework.core.Ordered
public class GroovyAuthenticationHandlerResolver
extends Object
implements org.apereo.cas.authentication.AuthenticationHandlerResolver, org.springframework.beans.factory.DisposableBean
This is
GroovyAuthenticationHandlerResolver.- Since:
- 6.2.0
-
Field Summary
Fields inherited from interface org.apereo.cas.authentication.AuthenticationHandlerResolver
LOGGERFields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
ConstructorsConstructorDescriptionGroovyAuthenticationHandlerResolver(org.springframework.core.io.Resource groovyResource, org.apereo.cas.services.ServicesManager servicesManager) GroovyAuthenticationHandlerResolver(org.springframework.core.io.Resource groovyResource, org.apereo.cas.services.ServicesManager servicesManager, int order) -
Method Summary
Modifier and TypeMethodDescriptionvoiddestroy()intgetOrder()org.apereo.cas.services.ServicesManagerorg.apereo.cas.util.scripting.ExecutableCompiledScriptSet<org.apereo.cas.authentication.AuthenticationHandler> resolve(Set<org.apereo.cas.authentication.AuthenticationHandler> candidateHandlers, org.apereo.cas.authentication.AuthenticationTransaction transaction) voidsetOrder(int order) booleansupports(Set<org.apereo.cas.authentication.AuthenticationHandler> handlers, org.apereo.cas.authentication.AuthenticationTransaction transaction)
-
Constructor Details
-
GroovyAuthenticationHandlerResolver
public GroovyAuthenticationHandlerResolver(org.springframework.core.io.Resource groovyResource, org.apereo.cas.services.ServicesManager servicesManager) -
GroovyAuthenticationHandlerResolver
public GroovyAuthenticationHandlerResolver(org.springframework.core.io.Resource groovyResource, org.apereo.cas.services.ServicesManager servicesManager, int order)
-
-
Method Details
-
resolve
public Set<org.apereo.cas.authentication.AuthenticationHandler> resolve(Set<org.apereo.cas.authentication.AuthenticationHandler> candidateHandlers, org.apereo.cas.authentication.AuthenticationTransaction transaction) throws Throwable - Specified by:
resolvein interfaceorg.apereo.cas.authentication.AuthenticationHandlerResolver- Throws:
Throwable
-
supports
public boolean supports(Set<org.apereo.cas.authentication.AuthenticationHandler> handlers, org.apereo.cas.authentication.AuthenticationTransaction transaction) throws Throwable - Specified by:
supportsin interfaceorg.apereo.cas.authentication.AuthenticationHandlerResolver- Throws:
Throwable
-
destroy
public void destroy()- Specified by:
destroyin interfaceorg.springframework.beans.factory.DisposableBean
-
getWatchableScript
public org.apereo.cas.util.scripting.ExecutableCompiledScript getWatchableScript() -
getServicesManager
public org.apereo.cas.services.ServicesManager getServicesManager() -
getOrder
public int getOrder()- Specified by:
getOrderin interfaceorg.apereo.cas.authentication.AuthenticationHandlerResolver- Specified by:
getOrderin interfaceorg.springframework.core.Ordered
-
setOrder
public void setOrder(int order)
-