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
     
    int
     
    org.apereo.cas.util.scripting.ExecutableCompiledScript
     
    boolean
    process(org.apereo.cas.authentication.AuthenticationTransaction transaction)
     
    void
    setOrder(int order)
     
    boolean
    supports(org.apereo.cas.authentication.Credential credential)
     

    Methods inherited from class java.lang.Object

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

      public boolean supports(org.apereo.cas.authentication.Credential credential) throws Throwable
      Specified by:
      supports in interface org.apereo.cas.authentication.AuthenticationPreProcessor
      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()
    • getOrder

      public int getOrder()
      Specified by:
      getOrder in interface org.apereo.cas.authentication.AuthenticationPreProcessor
      Specified by:
      getOrder in interface org.springframework.core.Ordered
    • setOrder

      public void setOrder(int order)