Class RestfulServiceRegistry

  • All Implemented Interfaces:
    org.apereo.cas.services.ServiceRegistry

    public class RestfulServiceRegistry
    extends org.apereo.cas.services.AbstractServiceRegistry
    Since:
    5.2.0
    • Constructor Summary

      Constructors 
      Constructor Description
      RestfulServiceRegistry​(org.springframework.context.ApplicationEventPublisher eventPublisher, org.springframework.web.client.RestTemplate restTemplate, java.lang.String url, org.springframework.util.MultiValueMap<java.lang.String,​java.lang.String> headers)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean delete​(org.apereo.cas.services.RegisteredService registeredService)  
      org.apereo.cas.services.RegisteredService findServiceById​(long id)  
      org.apereo.cas.services.RegisteredService findServiceById​(java.lang.String id)  
      java.util.Collection<org.apereo.cas.services.RegisteredService> load()  
      org.apereo.cas.services.RegisteredService save​(org.apereo.cas.services.RegisteredService registeredService)  
      long size()  
      • Methods inherited from class org.apereo.cas.services.AbstractServiceRegistry

        getName, publishEvent
      • 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.ServiceRegistry

        findServiceByExactServiceId, findServiceByExactServiceName
    • Constructor Detail

      • RestfulServiceRegistry

        public RestfulServiceRegistry​(org.springframework.context.ApplicationEventPublisher eventPublisher,
                                      org.springframework.web.client.RestTemplate restTemplate,
                                      java.lang.String url,
                                      org.springframework.util.MultiValueMap<java.lang.String,​java.lang.String> headers)
    • Method Detail

      • save

        public org.apereo.cas.services.RegisteredService save​(org.apereo.cas.services.RegisteredService registeredService)
      • delete

        public boolean delete​(org.apereo.cas.services.RegisteredService registeredService)
      • load

        public java.util.Collection<org.apereo.cas.services.RegisteredService> load()
      • findServiceById

        public org.apereo.cas.services.RegisteredService findServiceById​(long id)
      • findServiceById

        public org.apereo.cas.services.RegisteredService findServiceById​(java.lang.String id)
      • size

        public long size()