Class AnyAuthenticationPolicy

  • All Implemented Interfaces:
    org.apereo.cas.authentication.AuthenticationPolicy, org.springframework.core.Ordered
    Direct Known Subclasses:
    NotPreventedAuthenticationPolicy

    public class AnyAuthenticationPolicy
    extends java.lang.Object
    implements org.apereo.cas.authentication.AuthenticationPolicy
    Authentication policy that is satisfied by at least one successfully authenticated credential.
    Since:
    4.0.0
    • 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
      boolean isSatisfiedBy​(org.apereo.cas.authentication.Authentication authn)  
      • Methods inherited from interface org.apereo.cas.authentication.AuthenticationPolicy

        getOrder
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AnyAuthenticationPolicy

        public AnyAuthenticationPolicy()
    • Method Detail

      • isSatisfiedBy

        public boolean isSatisfiedBy​(org.apereo.cas.authentication.Authentication authn)
                              throws java.lang.Exception
        Specified by:
        isSatisfiedBy in interface org.apereo.cas.authentication.AuthenticationPolicy
        Throws:
        java.lang.Exception