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
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
    Modifier and Type
    Field
    Description
    protected String
    The unique identifier for this service.

    Fields inherited from interface org.apereo.cas.services.RegisteredService

    INITIAL_IDENTIFIER_VALUE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    compareTo(org.apereo.cas.services.RegisteredService other)
     
    protected void
    Configure matching strategy.
    boolean
    matches(String serviceId)
     
    boolean
    matches(org.apereo.cas.authentication.principal.Service service)
     

    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, getServiceId, getTemplateName, getTicketGrantingTicketExpirationPolicy, getUsernameAttributeProvider, initialize, setEvaluationOrder, setId
  • Field Details

    • serviceId

      @RegularExpressionCapable protected String serviceId
      The unique identifier for this service.
  • Constructor Details

    • BaseRegisteredService

      public BaseRegisteredService()
  • Method Details

    • compareTo

      public int compareTo(org.apereo.cas.services.RegisteredService other)
      Specified by:
      compareTo in interface Comparable<org.apereo.cas.services.RegisteredService>
    • matches

      public boolean matches(org.apereo.cas.authentication.principal.Service service)
      Specified by:
      matches in interface org.apereo.cas.services.RegisteredService
    • matches

      public boolean matches(String serviceId)
      Specified by:
      matches in interface org.apereo.cas.services.RegisteredService
    • configureMatchingStrategy

      protected void configureMatchingStrategy()
      Configure matching strategy. If the strategy is undefined, it will default to FullRegexRegisteredServiceMatchingStrategy.