Class GroovyRegisteredServiceAccessStrategy

  • All Implemented Interfaces:
    java.io.Serializable, org.apereo.cas.services.RegisteredServiceAccessStrategy, org.springframework.core.Ordered

    public class GroovyRegisteredServiceAccessStrategy
    extends java.lang.Object
    implements org.apereo.cas.services.RegisteredServiceAccessStrategy
    Since:
    5.3.0
    See Also:
    Serialized Form
    • Constructor Detail

      • GroovyRegisteredServiceAccessStrategy

        public GroovyRegisteredServiceAccessStrategy()
    • Method Detail

      • isServiceAccessAllowed

        public boolean isServiceAccessAllowed()
        Specified by:
        isServiceAccessAllowed in interface org.apereo.cas.services.RegisteredServiceAccessStrategy
      • setServiceAccessAllowed

        public void setServiceAccessAllowed​(boolean enabled)
        Specified by:
        setServiceAccessAllowed in interface org.apereo.cas.services.RegisteredServiceAccessStrategy
      • isServiceAccessAllowedForSso

        public boolean isServiceAccessAllowedForSso()
        Specified by:
        isServiceAccessAllowedForSso in interface org.apereo.cas.services.RegisteredServiceAccessStrategy
      • doPrincipalAttributesAllowServiceAccess

        public boolean doPrincipalAttributesAllowServiceAccess​(java.lang.String principal,
                                                               java.util.Map<java.lang.String,​java.lang.Object> attributes)
        Specified by:
        doPrincipalAttributesAllowServiceAccess in interface org.apereo.cas.services.RegisteredServiceAccessStrategy
      • getUnauthorizedRedirectUrl

        public java.net.URI getUnauthorizedRedirectUrl()
        Specified by:
        getUnauthorizedRedirectUrl in interface org.apereo.cas.services.RegisteredServiceAccessStrategy
      • getDelegatedAuthenticationPolicy

        public org.apereo.cas.services.RegisteredServiceDelegatedAuthenticationPolicy getDelegatedAuthenticationPolicy()
        Specified by:
        getDelegatedAuthenticationPolicy in interface org.apereo.cas.services.RegisteredServiceAccessStrategy
      • getRequiredAttributes

        public java.util.Map<java.lang.String,​java.util.Set<java.lang.String>> getRequiredAttributes()
        Specified by:
        getRequiredAttributes in interface org.apereo.cas.services.RegisteredServiceAccessStrategy