Class RequiredHandlerAuthenticationPolicy

  • All Implemented Interfaces:
    org.apereo.cas.authentication.AuthenticationPolicy, org.springframework.core.Ordered

    public class RequiredHandlerAuthenticationPolicy
    extends java.lang.Object
    implements org.apereo.cas.authentication.AuthenticationPolicy
    Authentication security policy that is satisfied iff a specified authentication handler successfully authenticates at least one credential.
    Since:
    4.0.0
    • Field Summary

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

        HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
    • Constructor Summary

      Constructors 
      Constructor Description
      RequiredHandlerAuthenticationPolicy​(java.lang.String requiredHandlerName)
      Instantiates a new required handler authentication policy.
    • 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

      • RequiredHandlerAuthenticationPolicy

        public RequiredHandlerAuthenticationPolicy​(java.lang.String requiredHandlerName)
        Instantiates a new required handler authentication policy.
        Parameters:
        requiredHandlerName - the required handler name
    • Method Detail

      • isSatisfiedBy

        public boolean isSatisfiedBy​(org.apereo.cas.authentication.Authentication authn)
        Specified by:
        isSatisfiedBy in interface org.apereo.cas.authentication.AuthenticationPolicy