Class WebApplicationServiceResponseBuilder
- java.lang.Object
-
- org.apereo.cas.authentication.principal.AbstractWebApplicationServiceResponseBuilder
-
- org.apereo.cas.authentication.principal.WebApplicationServiceResponseBuilder
-
- All Implemented Interfaces:
java.io.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:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.apereo.cas.authentication.principal.AbstractWebApplicationServiceResponseBuilder
servicesManager
-
-
Constructor Summary
Constructors Constructor Description WebApplicationServiceResponseBuilder(org.apereo.cas.services.ServicesManager servicesManager, org.apereo.cas.web.UrlValidator urlValidator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apereo.cas.authentication.principal.Response
build(org.apereo.cas.authentication.principal.WebApplicationService service, java.lang.String serviceTicketId, org.apereo.cas.authentication.Authentication authentication)
protected org.apereo.cas.authentication.principal.WebApplicationService
buildInternal(org.apereo.cas.authentication.principal.WebApplicationService service, java.util.Map<java.lang.String,java.lang.String> parameters)
Build internal service.-
Methods inherited from class org.apereo.cas.authentication.principal.AbstractWebApplicationServiceResponseBuilder
buildHeader, buildPost, buildRedirect, determineServiceResponseUrl, getWebApplicationServiceResponseType
-
-
-
-
Method Detail
-
build
public org.apereo.cas.authentication.principal.Response build(org.apereo.cas.authentication.principal.WebApplicationService service, java.lang.String serviceTicketId, org.apereo.cas.authentication.Authentication authentication)
-
buildInternal
protected org.apereo.cas.authentication.principal.WebApplicationService buildInternal(org.apereo.cas.authentication.principal.WebApplicationService service, java.util.Map<java.lang.String,java.lang.String> parameters)
Build internal service.- Parameters:
service
- the serviceparameters
- the parameters- Returns:
- the service
-
-