Class WebApplicationServiceResponseBuilder
java.lang.Object
org.apereo.cas.authentication.principal.AbstractWebApplicationServiceResponseBuilder
org.apereo.cas.authentication.principal.WebApplicationServiceResponseBuilder
- All Implemented Interfaces:
Serializable
,org.apereo.cas.authentication.principal.ResponseBuilder<org.apereo.cas.authentication.principal.WebApplicationService>
,org.springframework.core.Ordered
public class WebApplicationServiceResponseBuilder
extends AbstractWebApplicationServiceResponseBuilder
Default response builder that passes back the ticket
id to the original url of the service based on the response type.
- Since:
- 4.2
- See Also:
-
Field Summary
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
-
Constructor Summary
ConstructorDescriptionWebApplicationServiceResponseBuilder
(org.apereo.cas.services.ServicesManager servicesManager, org.apereo.cas.web.UrlValidator urlValidator) -
Method Summary
Modifier and TypeMethodDescriptionorg.apereo.cas.authentication.principal.Response
build
(org.apereo.cas.authentication.principal.WebApplicationService service, String serviceTicketId, org.apereo.cas.authentication.Authentication authentication) boolean
int
getOrder()
int
hashCode()
void
setOrder
(int order) Methods inherited from class org.apereo.cas.authentication.principal.AbstractWebApplicationServiceResponseBuilder
getServicesManager, getUrlValidator
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apereo.cas.authentication.principal.ResponseBuilder
supports
-
Constructor Details
-
WebApplicationServiceResponseBuilder
public WebApplicationServiceResponseBuilder(org.apereo.cas.services.ServicesManager servicesManager, org.apereo.cas.web.UrlValidator urlValidator)
-
-
Method Details
-
build
public org.apereo.cas.authentication.principal.Response build(org.apereo.cas.authentication.principal.WebApplicationService service, String serviceTicketId, org.apereo.cas.authentication.Authentication authentication) -
equals
-
hashCode
public int hashCode() -
getOrder
public int getOrder()- Specified by:
getOrder
in interfaceorg.springframework.core.Ordered
- Overrides:
getOrder
in classAbstractWebApplicationServiceResponseBuilder
-
setOrder
public void setOrder(int order) - Overrides:
setOrder
in classAbstractWebApplicationServiceResponseBuilder
-