public class ServiceContext
extends java.lang.Object
| Constructor and Description |
|---|
ServiceContext(org.apereo.cas.authentication.principal.Service service,
org.apereo.cas.services.RegisteredService registeredService)
Creates a new instance with required parameters.
|
| Modifier and Type | Method and Description |
|---|---|
org.apereo.cas.services.RegisteredService |
getRegisteredService()
Gets the registered service for the service principal.
|
org.apereo.cas.authentication.principal.Service |
getService()
Gets the service principal.
|
public ServiceContext(org.apereo.cas.authentication.principal.Service service,
org.apereo.cas.services.RegisteredService registeredService)
service - Service principal.registeredService - Registered service corresponding to given service.public org.apereo.cas.authentication.principal.Service getService()
public org.apereo.cas.services.RegisteredService getRegisteredService()