public interface ServicesManager
| Modifier and Type | Method and Description |
|---|---|
RegisteredService |
delete(long id)
Delete the entry for this RegisteredService.
|
RegisteredService |
findServiceBy(long id)
Find a RegisteredService by matching with the supplied id.
|
RegisteredService |
findServiceBy(org.jasig.cas.authentication.principal.Service service)
Find a RegisteredService by matching with the supplied service.
|
java.util.Collection<RegisteredService> |
getAllServices()
Retrieve the collection of all registered services.
|
boolean |
matchesExistingService(org.jasig.cas.authentication.principal.Service service)
Convenience method to let one know if a service exists in the data store.
|
RegisteredService |
save(RegisteredService registeredService)
Register a service with CAS, or update an existing an entry.
|
RegisteredService save(RegisteredService registeredService)
registeredService - the RegisteredService to update or add.RegisteredService delete(long id)
id - the id of the registeredService to delete.RegisteredService findServiceBy(org.jasig.cas.authentication.principal.Service service)
service - the service to match with.RegisteredService findServiceBy(long id)
id - the id to match with.java.util.Collection<RegisteredService> getAllServices()
boolean matchesExistingService(org.jasig.cas.authentication.principal.Service service)
service - the service to check.