Package org.apereo.cas.services
Class RestfulServiceRegistry
- java.lang.Object
-
- org.apereo.cas.services.AbstractServiceRegistry
-
- org.apereo.cas.services.RestfulServiceRegistry
-
- All Implemented Interfaces:
org.apereo.cas.services.ServiceRegistry
public class RestfulServiceRegistry extends org.apereo.cas.services.AbstractServiceRegistryThis isRestfulServiceRegistry.- 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 booleandelete(org.apereo.cas.services.RegisteredService registeredService)org.apereo.cas.services.RegisteredServicefindServiceById(long id)org.apereo.cas.services.RegisteredServicefindServiceById(java.lang.String id)java.util.Collection<org.apereo.cas.services.RegisteredService>load()org.apereo.cas.services.RegisteredServicesave(org.apereo.cas.services.RegisteredService registeredService)longsize()
-
-
-
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()
-
-