Class GroovyScriptAuthenticationPolicy

    • Field Summary

      • Fields inherited from interface org.springframework.core.Ordered

        HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.apereo.cas.authentication.AuthenticationPolicyExecutionResult isSatisfiedBy​(org.apereo.cas.authentication.Authentication auth, java.util.Set<org.apereo.cas.authentication.AuthenticationHandler> authenticationHandlers, org.springframework.context.ConfigurableApplicationContext applicationContext, java.util.Optional<java.io.Serializable> assertion)  
      boolean shouldResumeOnFailure​(java.lang.Throwable failure)  
      • 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.AuthenticationPolicy

        getName, getOrder
    • Constructor Detail

      • GroovyScriptAuthenticationPolicy

        public GroovyScriptAuthenticationPolicy​(java.lang.String script)
    • Method Detail

      • isSatisfiedBy

        public org.apereo.cas.authentication.AuthenticationPolicyExecutionResult isSatisfiedBy​(org.apereo.cas.authentication.Authentication auth,
                                                                                               java.util.Set<org.apereo.cas.authentication.AuthenticationHandler> authenticationHandlers,
                                                                                               org.springframework.context.ConfigurableApplicationContext applicationContext,
                                                                                               java.util.Optional<java.io.Serializable> assertion)
                                                                                        throws java.lang.Exception
        Throws:
        java.lang.Exception
      • shouldResumeOnFailure

        public boolean shouldResumeOnFailure​(java.lang.Throwable failure)