Package org.apereo.cas.services
Class BaseRegisteredService
java.lang.Object
org.apereo.cas.services.BaseRegisteredService
- All Implemented Interfaces:
Serializable
,Comparable<org.apereo.cas.services.RegisteredService>
,org.apereo.cas.services.RegisteredService
,org.apereo.cas.services.RegisteredServiceDefinition
- Direct Known Subclasses:
BaseWebBasedRegisteredService
public abstract class BaseRegisteredService
extends Object
implements org.apereo.cas.services.RegisteredService
Base class for mutable, persistable registered services.
- Since:
- 3.0.0
- See Also:
-
Field Summary
Fields inherited from interface org.apereo.cas.services.RegisteredServiceDefinition
INITIAL_IDENTIFIER_VALUE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
compareTo
(org.apereo.cas.services.RegisteredService other) boolean
org.apereo.cas.services.RegisteredServiceAccessStrategy
org.apereo.cas.services.RegisteredServiceAttributeReleasePolicy
org.apereo.cas.services.RegisteredServiceAuthenticationPolicy
List
<org.apereo.cas.services.RegisteredServiceContact> int
org.apereo.cas.services.RegisteredServiceExpirationPolicy
long
getId()
getLogo()
org.apereo.cas.services.RegisteredServiceLogoutType
org.apereo.cas.services.RegisteredServiceMatchingStrategy
org.apereo.cas.services.RegisteredServiceMultifactorPolicy
getName()
org.apereo.cas.services.RegisteredServicePublicKey
The unique identifier for this service.getTheme()
org.apereo.cas.services.RegisteredServiceTicketGrantingTicketExpirationPolicy
org.apereo.cas.services.RegisteredServiceUsernameAttributeProvider
int
hashCode()
boolean
boolean
matches
(org.apereo.cas.authentication.principal.Service service) void
setAccessStrategy
(org.apereo.cas.services.RegisteredServiceAccessStrategy accessStrategy) void
setAttributeReleasePolicy
(org.apereo.cas.services.RegisteredServiceAttributeReleasePolicy attributeReleasePolicy) void
setAuthenticationPolicy
(org.apereo.cas.services.RegisteredServiceAuthenticationPolicy authenticationPolicy) void
setContacts
(List<org.apereo.cas.services.RegisteredServiceContact> contacts) void
setDescription
(String description) void
setEnvironments
(Set<String> environments) void
setEvaluationOrder
(int evaluationOrder) void
setExpirationPolicy
(org.apereo.cas.services.RegisteredServiceExpirationPolicy expirationPolicy) void
setId
(long id) void
setInformationUrl
(String informationUrl) void
void
void
setLogoutType
(org.apereo.cas.services.RegisteredServiceLogoutType logoutType) void
setLogoutUrl
(String logoutUrl) void
setMatchingStrategy
(org.apereo.cas.services.RegisteredServiceMatchingStrategy matchingStrategy) void
setMultifactorAuthenticationPolicy
(org.apereo.cas.services.RegisteredServiceMultifactorPolicy multifactorAuthenticationPolicy) void
void
setPrivacyUrl
(String privacyUrl) void
setProperties
(Map<String, org.apereo.cas.services.RegisteredServiceProperty> properties) void
setPublicKey
(org.apereo.cas.services.RegisteredServicePublicKey publicKey) void
setServiceId
(String serviceId) The unique identifier for this service.void
setTemplateName
(String templateName) void
void
setTicketGrantingTicketExpirationPolicy
(org.apereo.cas.services.RegisteredServiceTicketGrantingTicketExpirationPolicy ticketGrantingTicketExpirationPolicy) void
setUsernameAttributeProvider
(org.apereo.cas.services.RegisteredServiceUsernameAttributeProvider usernameAttributeProvider) toString()
Methods inherited from interface org.apereo.cas.services.RegisteredService
getEvaluationPriority, getFriendlyName, initialize
-
Constructor Details
-
BaseRegisteredService
public BaseRegisteredService()
-
-
Method Details
-
compareTo
public int compareTo(org.apereo.cas.services.RegisteredService other) - Specified by:
compareTo
in interfaceComparable<org.apereo.cas.services.RegisteredService>
-
matches
public boolean matches(org.apereo.cas.authentication.principal.Service service) - Specified by:
matches
in interfaceorg.apereo.cas.services.RegisteredService
-
matches
- Specified by:
matches
in interfaceorg.apereo.cas.services.RegisteredService
-
toString
-
getServiceId
The unique identifier for this service.- Specified by:
getServiceId
in interfaceorg.apereo.cas.services.RegisteredService
-
getName
- Specified by:
getName
in interfaceorg.apereo.cas.services.RegisteredServiceDefinition
-
getTheme
-
getLocale
-
getInformationUrl
-
getPrivacyUrl
-
getTemplateName
- Specified by:
getTemplateName
in interfaceorg.apereo.cas.services.RegisteredService
-
getId
public long getId()- Specified by:
getId
in interfaceorg.apereo.cas.services.RegisteredServiceDefinition
-
getDescription
- Specified by:
getDescription
in interfaceorg.apereo.cas.services.RegisteredServiceDefinition
-
getExpirationPolicy
public org.apereo.cas.services.RegisteredServiceExpirationPolicy getExpirationPolicy()- Specified by:
getExpirationPolicy
in interfaceorg.apereo.cas.services.RegisteredService
-
getTicketGrantingTicketExpirationPolicy
public org.apereo.cas.services.RegisteredServiceTicketGrantingTicketExpirationPolicy getTicketGrantingTicketExpirationPolicy()- Specified by:
getTicketGrantingTicketExpirationPolicy
in interfaceorg.apereo.cas.services.RegisteredService
-
getEvaluationOrder
public int getEvaluationOrder()- Specified by:
getEvaluationOrder
in interfaceorg.apereo.cas.services.RegisteredService
-
getUsernameAttributeProvider
public org.apereo.cas.services.RegisteredServiceUsernameAttributeProvider getUsernameAttributeProvider()- Specified by:
getUsernameAttributeProvider
in interfaceorg.apereo.cas.services.RegisteredService
-
getLogoutType
public org.apereo.cas.services.RegisteredServiceLogoutType getLogoutType() -
getEnvironments
- Specified by:
getEnvironments
in interfaceorg.apereo.cas.services.RegisteredService
-
getAttributeReleasePolicy
public org.apereo.cas.services.RegisteredServiceAttributeReleasePolicy getAttributeReleasePolicy()- Specified by:
getAttributeReleasePolicy
in interfaceorg.apereo.cas.services.RegisteredService
-
getMultifactorAuthenticationPolicy
public org.apereo.cas.services.RegisteredServiceMultifactorPolicy getMultifactorAuthenticationPolicy()- Specified by:
getMultifactorAuthenticationPolicy
in interfaceorg.apereo.cas.services.RegisteredService
-
getPublicKey
public org.apereo.cas.services.RegisteredServicePublicKey getPublicKey()- Specified by:
getPublicKey
in interfaceorg.apereo.cas.services.RegisteredService
-
getMatchingStrategy
public org.apereo.cas.services.RegisteredServiceMatchingStrategy getMatchingStrategy()- Specified by:
getMatchingStrategy
in interfaceorg.apereo.cas.services.RegisteredService
-
getLogo
-
getLogoutUrl
-
getAccessStrategy
public org.apereo.cas.services.RegisteredServiceAccessStrategy getAccessStrategy()- Specified by:
getAccessStrategy
in interfaceorg.apereo.cas.services.RegisteredService
-
getAuthenticationPolicy
public org.apereo.cas.services.RegisteredServiceAuthenticationPolicy getAuthenticationPolicy()- Specified by:
getAuthenticationPolicy
in interfaceorg.apereo.cas.services.RegisteredService
-
getProperties
- Specified by:
getProperties
in interfaceorg.apereo.cas.services.RegisteredService
-
getContacts
- Specified by:
getContacts
in interfaceorg.apereo.cas.services.RegisteredService
-
setServiceId
The unique identifier for this service. -
setName
-
setTheme
-
setLocale
-
setInformationUrl
-
setPrivacyUrl
-
setTemplateName
-
setId
public void setId(long id) - Specified by:
setId
in interfaceorg.apereo.cas.services.RegisteredServiceDefinition
-
setDescription
-
setExpirationPolicy
public void setExpirationPolicy(org.apereo.cas.services.RegisteredServiceExpirationPolicy expirationPolicy) -
setTicketGrantingTicketExpirationPolicy
public void setTicketGrantingTicketExpirationPolicy(org.apereo.cas.services.RegisteredServiceTicketGrantingTicketExpirationPolicy ticketGrantingTicketExpirationPolicy) -
setEvaluationOrder
public void setEvaluationOrder(int evaluationOrder) - Specified by:
setEvaluationOrder
in interfaceorg.apereo.cas.services.RegisteredService
-
setUsernameAttributeProvider
public void setUsernameAttributeProvider(org.apereo.cas.services.RegisteredServiceUsernameAttributeProvider usernameAttributeProvider) -
setLogoutType
public void setLogoutType(org.apereo.cas.services.RegisteredServiceLogoutType logoutType) -
setEnvironments
-
setAttributeReleasePolicy
public void setAttributeReleasePolicy(org.apereo.cas.services.RegisteredServiceAttributeReleasePolicy attributeReleasePolicy) -
setMultifactorAuthenticationPolicy
public void setMultifactorAuthenticationPolicy(org.apereo.cas.services.RegisteredServiceMultifactorPolicy multifactorAuthenticationPolicy) -
setPublicKey
public void setPublicKey(org.apereo.cas.services.RegisteredServicePublicKey publicKey) -
setMatchingStrategy
public void setMatchingStrategy(org.apereo.cas.services.RegisteredServiceMatchingStrategy matchingStrategy) -
setLogo
-
setLogoutUrl
-
setAccessStrategy
public void setAccessStrategy(org.apereo.cas.services.RegisteredServiceAccessStrategy accessStrategy) -
setAuthenticationPolicy
public void setAuthenticationPolicy(org.apereo.cas.services.RegisteredServiceAuthenticationPolicy authenticationPolicy) -
setProperties
-
setContacts
-
equals
-
hashCode
public int hashCode()
-