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

    Fields inherited from interface org.springframework.core.Ordered

    HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
  • Constructor Summary

    Constructors
    Constructor
    Description
    GroovyAuthenticationPreProcessor(org.springframework.core.io.Resource groovyResource)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    boolean
    process(org.apereo.cas.authentication.AuthenticationTransaction transaction)
     
    boolean
    supports(org.apereo.cas.authentication.Credential credential)
     

    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.AuthenticationPreProcessor

    getOrder
  • Constructor Details

    • GroovyAuthenticationPreProcessor

      public GroovyAuthenticationPreProcessor(org.springframework.core.io.Resource groovyResource)
  • Method Details

    • process

      public boolean process(org.apereo.cas.authentication.AuthenticationTransaction transaction) throws org.apereo.cas.authentication.AuthenticationException
      Specified by:
      process in interface org.apereo.cas.authentication.AuthenticationPreProcessor
      Throws:
      org.apereo.cas.authentication.AuthenticationException
    • supports

      public boolean supports(org.apereo.cas.authentication.Credential credential)
      Specified by:
      supports in interface org.apereo.cas.authentication.AuthenticationPreProcessor
    • destroy

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