Package org.apereo.cas.services
Class GroovyRegisteredServiceAccessStrategy
- java.lang.Object
-
- org.apereo.cas.services.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 Summary
Constructors Constructor Description GroovyRegisteredServiceAccessStrategy()
-
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)
org.apereo.cas.services.RegisteredServiceDelegatedAuthenticationPolicy
getDelegatedAuthenticationPolicy()
java.util.Map<java.lang.String,java.util.Set<java.lang.String>>
getRequiredAttributes()
java.net.URI
getUnauthorizedRedirectUrl()
boolean
isServiceAccessAllowed()
boolean
isServiceAccessAllowedForSso()
void
setServiceAccessAllowed(boolean enabled)
-
-
-
Method Detail
-
isServiceAccessAllowed
public boolean isServiceAccessAllowed()
- Specified by:
isServiceAccessAllowed
in interfaceorg.apereo.cas.services.RegisteredServiceAccessStrategy
-
setServiceAccessAllowed
public void setServiceAccessAllowed(boolean enabled)
- Specified by:
setServiceAccessAllowed
in interfaceorg.apereo.cas.services.RegisteredServiceAccessStrategy
-
isServiceAccessAllowedForSso
public boolean isServiceAccessAllowedForSso()
- Specified by:
isServiceAccessAllowedForSso
in interfaceorg.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 interfaceorg.apereo.cas.services.RegisteredServiceAccessStrategy
-
getUnauthorizedRedirectUrl
public java.net.URI getUnauthorizedRedirectUrl()
- Specified by:
getUnauthorizedRedirectUrl
in interfaceorg.apereo.cas.services.RegisteredServiceAccessStrategy
-
getDelegatedAuthenticationPolicy
public org.apereo.cas.services.RegisteredServiceDelegatedAuthenticationPolicy getDelegatedAuthenticationPolicy()
- Specified by:
getDelegatedAuthenticationPolicy
in interfaceorg.apereo.cas.services.RegisteredServiceAccessStrategy
-
getRequiredAttributes
public java.util.Map<java.lang.String,java.util.Set<java.lang.String>> getRequiredAttributes()
- Specified by:
getRequiredAttributes
in interfaceorg.apereo.cas.services.RegisteredServiceAccessStrategy
-
-