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
Since:
6.2.0
  • Field Summary

    Fields inherited from interface org.apereo.cas.authentication.AuthenticationHandlerResolver

    LOGGER

    Fields inherited from interface org.springframework.core.Ordered

    HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
  • Constructor Summary

    Constructors
    Constructor
    Description
    GroovyAuthenticationHandlerResolver(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 Type
    Method
    Description
    void
     
    int
     
    org.apereo.cas.services.ServicesManager
     
    org.apereo.cas.util.scripting.ExecutableCompiledScript
     
    Set<org.apereo.cas.authentication.AuthenticationHandler>
    resolve(Set<org.apereo.cas.authentication.AuthenticationHandler> candidateHandlers, org.apereo.cas.authentication.AuthenticationTransaction transaction)
     
    void
    setOrder(int order)
     
    boolean
    supports(Set<org.apereo.cas.authentication.AuthenticationHandler> handlers, org.apereo.cas.authentication.AuthenticationTransaction transaction)
     

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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:
      resolve in interface org.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:
      supports in interface org.apereo.cas.authentication.AuthenticationHandlerResolver
      Throws:
      Throwable
    • destroy

      public void destroy()
      Specified by:
      destroy in interface org.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:
      getOrder in interface org.apereo.cas.authentication.AuthenticationHandlerResolver
      Specified by:
      getOrder in interface org.springframework.core.Ordered
    • setOrder

      public void setOrder(int order)