Interface WebApplicationService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetArtifactId()Retrieves the artifact supplied with the service.org.apereo.cas.validation.ValidationResponseTypegetFormat()Ticket validation response MUST be produced based on the parameter value.java.lang.StringgetOriginalUrl()Return the original url provided (asserviceortargetServicerequest parameter).java.lang.StringgetSource()Indicates the source from which the service object was extracted and built.booleanisLoggedOutAlready()Return if the service is already logged out.voidsetLoggedOutAlready(boolean loggedOutAlready)Set if the service is already logged out.-
Methods inherited from interface org.apereo.cas.authentication.principal.Principal
getAttributes, getId
-
Methods inherited from interface org.apereo.cas.authentication.principal.Service
setPrincipal
-
-
-
-
Method Detail
-
getArtifactId
java.lang.String getArtifactId()
Retrieves the artifact supplied with the service. May be null.- Returns:
- the artifact if it exists, null otherwise.
-
getSource
java.lang.String getSource()
Indicates the source from which the service object was extracted and built. Typically maps to a request parameter or attribute that provides the request.- Returns:
- the source if it exists, null otherwise.
-
getOriginalUrl
java.lang.String getOriginalUrl()
Return the original url provided (asserviceortargetServicerequest parameter). Used to reconstruct the redirect url.- Returns:
- the original url provided.
-
getFormat
org.apereo.cas.validation.ValidationResponseType getFormat()
Ticket validation response MUST be produced based on the parameter value. Supported values are XML and JSON. If this parameter is not set, the default XML format will be used. If the parameter value is not supported by the CAS server, an error must be produced.- Returns:
- the requested format
- Since:
- 4.2
-
isLoggedOutAlready
boolean isLoggedOutAlready()
Return if the service is already logged out.- Returns:
- if the service is already logged out.
-
setLoggedOutAlready
void setLoggedOutAlready(boolean loggedOutAlready)
Set if the service is already logged out.- Parameters:
loggedOutAlready- if the service is already logged out.
-
-