Class 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.
      • Fields inherited from interface org.apereo.cas.services.RegisteredService

        INITIAL_IDENTIFIER_VALUE
    • 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
    • Field Detail

      • serviceId

        protected java.lang.String serviceId
        The unique identifier for this service.
    • Constructor Detail

      • BaseRegisteredService

        public BaseRegisteredService()
    • Method Detail

      • compareTo

        public int compareTo​(org.apereo.cas.services.RegisteredService other)
        Specified by:
        compareTo in interface java.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 interface org.apereo.cas.services.RegisteredService
      • setRequiredHandlers

        @Deprecated(since="6.2.0")
        public void setRequiredHandlers​(java.util.Set<java.lang.String> requiredHandlers)
        Deprecated.
        Since 6.2
        Sets required handlers.
        Parameters:
        requiredHandlers - the required handlers
      • 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​(java.lang.String serviceId)
        Specified by:
        matches in interface org.apereo.cas.services.RegisteredService