Package org.apereo.cas.services
Class BaseRegisteredService
- java.lang.Object
-
- org.apereo.cas.services.BaseRegisteredService
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<org.apereo.cas.services.RegisteredService>
,org.apereo.cas.services.RegisteredService
- Direct Known Subclasses:
BaseWebBasedRegisteredService
public abstract class BaseRegisteredService extends java.lang.Object implements org.apereo.cas.services.RegisteredService
Base class for mutable, persistable registered services.- Since:
- 3.0.0
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
serviceId
The unique identifier for this service.
-
Constructor Summary
Constructors Constructor Description BaseRegisteredService()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description int
compareTo(org.apereo.cas.services.RegisteredService other)
protected void
configureMatchingStrategy()
Configure matching strategy.java.util.Set<java.lang.String>
getRequiredHandlers()
Deprecated.boolean
matches(java.lang.String serviceId)
boolean
matches(org.apereo.cas.authentication.principal.Service service)
void
setRequiredHandlers(java.util.Set<java.lang.String> requiredHandlers)
Deprecated.Since 6.2-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apereo.cas.services.RegisteredService
getAccessStrategy, getAttributeReleasePolicy, getAuthenticationPolicy, getContacts, getDescription, getEnvironments, getEvaluationOrder, getEvaluationPriority, getExpirationPolicy, getFriendlyName, getId, getMatchingStrategy, getMultifactorAuthenticationPolicy, getName, getProperties, getPublicKey, getResponseType, getServiceId, getTicketGrantingTicketExpirationPolicy, getUsernameAttributeProvider, initialize, setEvaluationOrder, setId
-
-
-
-
Method Detail
-
compareTo
public int compareTo(org.apereo.cas.services.RegisteredService other)
- Specified by:
compareTo
in interfacejava.lang.Comparable<org.apereo.cas.services.RegisteredService>
-
getRequiredHandlers
@Deprecated(since="6.2.0") public java.util.Set<java.lang.String> getRequiredHandlers()
Deprecated.- Specified by:
getRequiredHandlers
in interfaceorg.apereo.cas.services.RegisteredService
-
setRequiredHandlers
@Deprecated(since="6.2.0") public void setRequiredHandlers(java.util.Set<java.lang.String> requiredHandlers)
Deprecated.Since 6.2Sets required handlers.- Parameters:
requiredHandlers
- the required handlers
-
matches
public boolean matches(org.apereo.cas.authentication.principal.Service service)
- Specified by:
matches
in interfaceorg.apereo.cas.services.RegisteredService
-
matches
public boolean matches(java.lang.String serviceId)
- Specified by:
matches
in interfaceorg.apereo.cas.services.RegisteredService
-
configureMatchingStrategy
protected void configureMatchingStrategy()
Configure matching strategy. If the strategy is undefined, it will default toFullRegexRegisteredServiceMatchingStrategy
.
-
-