public interface RegisteredService extends Cloneable, Serializable
| Modifier and Type | Field and Description |
|---|---|
static long |
INITIAL_IDENTIFIER_VALUE
Initial ID value of newly created (but not persisted) registered service.
|
| Modifier and Type | Method and Description |
|---|---|
RegisteredService |
clone() |
List<String> |
getAllowedAttributes()
Returns the list of allowed attributes.
|
RegisteredServiceAttributeFilter |
getAttributeFilter()
An instance of the attribute filter that imposes validation rules over
the attribute release policy.
|
String |
getDescription()
Returns the description of the service.
|
int |
getEvaluationOrder()
Gets the relative evaluation order of this service when determining
matches.
|
long |
getId()
The numeric identifier for this service.
|
LogoutType |
getLogoutType()
Returns the logout type of the service.
|
String |
getName()
Returns the name of the service.
|
Set<String> |
getRequiredHandlers()
Gets the set of handler names that must successfully authenticate credentials in order to access the service.
|
String |
getServiceId()
The unique identifier for this service.
|
String |
getTheme()
Returns a short theme name.
|
String |
getUsernameAttribute()
Get the name of the attribute this service prefers to consume as username.
|
boolean |
isAllowedToProxy()
Is this application allowed to take part in the proxying capabilities of
CAS?
|
boolean |
isAnonymousAccess()
Determines whether the service is allowed anonymous or privileged access
to user information.
|
boolean |
isEnabled()
Is this application currently allowed to use CAS?
|
boolean |
isIgnoreAttributes()
Sets whether we should bother to read the attribute list or not.
|
boolean |
isSsoEnabled()
Does this application participate in the SSO session?
|
boolean |
matches(Service service)
Returns whether the service matches the registered service.
|
void |
setEvaluationOrder(int evaluationOrder)
Sets the relative evaluation order of this service when determining
matches.
|
static final long INITIAL_IDENTIFIER_VALUE
boolean isEnabled()
boolean isAnonymousAccess()
boolean isIgnoreAttributes()
List<String> getAllowedAttributes()
boolean isAllowedToProxy()
String getServiceId()
long getId()
INITIAL_IDENTIFIER_VALUE.String getName()
String getTheme()
boolean isSsoEnabled()
String getDescription()
int getEvaluationOrder()
void setEvaluationOrder(int evaluationOrder)
evaluationOrder - the service evaluation orderString getUsernameAttribute()
String representing the name of the attribute to consume as usernamenull indicating the default usernameSet<String> getRequiredHandlers()
boolean matches(Service service)
Note, as of 3.1.2, matches are case insensitive.
service - the service to match.RegisteredService clone() throws CloneNotSupportedException
CloneNotSupportedExceptionRegisteredServiceAttributeFilter getAttributeFilter()
LogoutType getLogoutType()
Copyright © 2004-2015 Apereo. All Rights Reserved.