Class SurrogateRegisteredServiceAccessStrategy

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected boolean caseInsensitive
      Indicates whether matching on required attribute values should be done in a case-insensitive manner.
      protected boolean requireAllAttributes
      Defines the attribute aggregation behavior when checking for required attributes.
      • 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 doPrincipalAttributesAllowServiceAccess​(java.lang.String principal, java.util.Map<java.lang.String,​java.lang.Object> attributes)  
      protected boolean doPrincipalAttributesAllowSurrogateServiceAccess​(java.lang.String principal, java.util.Map<java.lang.String,​java.lang.Object> principalAttributes)
      Do principal attributes allow surrogate service access?.
      • Methods inherited from class org.apereo.cas.services.BaseRegisteredServiceAccessStrategy

        canEqual, equals, hashCode, toString
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface org.apereo.cas.services.RegisteredServiceAccessStrategy

        getDelegatedAuthenticationPolicy, getOrder, getRequiredAttributes, getUnauthorizedRedirectUrl, isServiceAccessAllowed, isServiceAccessAllowedForSso, setServiceAccessAllowed
    • Field Detail

      • requireAllAttributes

        protected boolean requireAllAttributes
        Defines the attribute aggregation behavior when checking for required attributes. Default requires that all attributes be present and match the principal's.
      • caseInsensitive

        protected boolean caseInsensitive
        Indicates whether matching on required attribute values should be done in a case-insensitive manner.
    • Constructor Detail

      • SurrogateRegisteredServiceAccessStrategy

        public SurrogateRegisteredServiceAccessStrategy()
    • Method Detail

      • doPrincipalAttributesAllowServiceAccess

        public boolean doPrincipalAttributesAllowServiceAccess​(java.lang.String principal,
                                                               java.util.Map<java.lang.String,​java.lang.Object> attributes)
      • doPrincipalAttributesAllowSurrogateServiceAccess

        protected boolean doPrincipalAttributesAllowSurrogateServiceAccess​(java.lang.String principal,
                                                                           java.util.Map<java.lang.String,​java.lang.Object> principalAttributes)
        Do principal attributes allow surrogate service access?.
        Parameters:
        principal - the principal
        principalAttributes - the principal attributes
        Returns:
        true /false