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 class org.apereo.cas.authentication.principal.AbstractWebApplicationServiceResponseBuilder
servicesManager
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
-
Constructor Summary
ConstructorsConstructorDescriptionWebApplicationServiceResponseBuilder
(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) protected org.apereo.cas.authentication.principal.WebApplicationService
buildInternal
(org.apereo.cas.authentication.principal.WebApplicationService service, Map<String, String> parameters) Build internal service.Methods inherited from class org.apereo.cas.authentication.principal.AbstractWebApplicationServiceResponseBuilder
buildHeader, buildPost, buildRedirect, determineServiceResponseUrl, getWebApplicationServiceResponseType
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.core.Ordered
getOrder
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) -
buildInternal
protected org.apereo.cas.authentication.principal.WebApplicationService buildInternal(org.apereo.cas.authentication.principal.WebApplicationService service, Map<String, String> parameters) Build internal service.- Parameters:
service
- the serviceparameters
- the parameters- Returns:
- the service
-