Class GroovyAuthenticationHandlerResolver

  • All Implemented Interfaces:
    org.apereo.cas.authentication.AuthenticationHandlerResolver, org.springframework.beans.factory.DisposableBean, org.springframework.core.Ordered

    public class GroovyAuthenticationHandlerResolver
    extends java.lang.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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void destroy()  
      java.util.Set<org.apereo.cas.authentication.AuthenticationHandler> resolve​(java.util.Set<org.apereo.cas.authentication.AuthenticationHandler> candidateHandlers, org.apereo.cas.authentication.AuthenticationTransaction transaction)  
      boolean supports​(java.util.Set<org.apereo.cas.authentication.AuthenticationHandler> handlers, org.apereo.cas.authentication.AuthenticationTransaction transaction)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.apereo.cas.authentication.AuthenticationHandlerResolver

        getOrder
    • Constructor Detail

      • 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 Detail

      • resolve

        public java.util.Set<org.apereo.cas.authentication.AuthenticationHandler> resolve​(java.util.Set<org.apereo.cas.authentication.AuthenticationHandler> candidateHandlers,
                                                                                          org.apereo.cas.authentication.AuthenticationTransaction transaction)
        Specified by:
        resolve in interface org.apereo.cas.authentication.AuthenticationHandlerResolver
      • supports

        public boolean supports​(java.util.Set<org.apereo.cas.authentication.AuthenticationHandler> handlers,
                                org.apereo.cas.authentication.AuthenticationTransaction transaction)
        Specified by:
        supports in interface org.apereo.cas.authentication.AuthenticationHandlerResolver
      • destroy

        public void destroy()
        Specified by:
        destroy in interface org.springframework.beans.factory.DisposableBean