Interface Service
- All Superinterfaces:
Principal,Serializable
- All Known Subinterfaces:
WebApplicationService
Marker interface for Services. Services are generally either remote
applications utilizing CAS or applications that principals wish to gain
access to. In most cases this will be some form of web application.
- Since:
- 3.0.0
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionReturn the original url provided (asserviceortargetServicerequest parameter).default StringGets shortened id.voidsetAttributes(Map<String, List<Object>> attributes) Sets the attributes.default voidsetPrincipal(String principal) Sets the principal.Methods inherited from interface org.apereo.cas.authentication.principal.Principal
getAttributes, getId
-
Field Details
-
LOGGER
static final org.slf4j.Logger LOGGERLogger instance.
-
-
Method Details
-
setPrincipal
Sets the principal.- Parameters:
principal- the new principal
-
setAttributes
Sets the attributes.- Parameters:
attributes- the new attributes
-
getOriginalUrl
String getOriginalUrl()Return the original url provided (asserviceortargetServicerequest parameter). Used to reconstruct the redirect url.- Returns:
- the original url provided.
-
getShortenedId
Gets shortened id.- Returns:
- the shortened id
- Throws:
Exception- the exception
-