public class Cas30JsonResponseView extends Cas30ResponseView
MappingJackson2JsonView to handle most of the
model processing and as such, does not do anything special.
It is meant and kept to provide a facility for adopters
so that the JSON view can be augmented easily in overlays.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ATTRIBUTE_NAME_MODEL_SERVICE_RESPONSE
Attribute name in the final model representing the service response.
|
authenticationRequestServiceSelectionStrategies| Constructor and Description |
|---|
Cas30JsonResponseView(boolean successResponse,
org.apereo.cas.authentication.ProtocolAttributeEncoder protocolAttributeEncoder,
org.apereo.cas.services.ServicesManager servicesManager,
java.lang.String authenticationContextAttribute,
boolean releaseProtocolAttributes,
org.apereo.cas.authentication.AuthenticationAttributeReleasePolicy authenticationAttributeReleasePolicy,
org.apereo.cas.authentication.AuthenticationServiceSelectionPlan serviceSelectionStrategy,
org.apereo.cas.validation.CasProtocolAttributesRenderer attributesRenderer) |
Cas30JsonResponseView(boolean successResponse,
org.apereo.cas.authentication.ProtocolAttributeEncoder protocolAttributeEncoder,
org.apereo.cas.services.ServicesManager servicesManager,
java.lang.String authenticationContextAttribute,
org.springframework.web.servlet.View delegatedView,
boolean releaseProtocolAttributes,
org.apereo.cas.authentication.AuthenticationAttributeReleasePolicy authenticationAttributeReleasePolicy,
org.apereo.cas.authentication.AuthenticationServiceSelectionPlan serviceSelectionStrategy,
org.apereo.cas.validation.CasProtocolAttributesRenderer attributesRenderer) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
prepareMergedOutputModel(java.util.Map<java.lang.String,java.lang.Object> model,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
getCasPrincipalAttributes, getCasProtocolAuthenticationAttributes, putCasResponseAttributesIntoModelgetView, renderMergedOutputModeldecideAttributeReleaseBasedOnServiceAttributePolicy, decideIfCredentialPasswordShouldBeReleasedAsAttribute, decideIfProxyGrantingTicketShouldBeReleasedAsAttribute, getAssertionFrom, getAuthenticationAttribute, getAuthenticationAttributeReleasePolicy, getAuthenticationAttributes, getAuthenticationAttributesAsMultiValuedAttributes, getAuthenticationContextAttribute, getAuthenticationDate, getChainedAuthentications, getErrorCodeFrom, getErrorDescriptionFrom, getModelAttributes, getPrimaryAuthenticationFrom, getPrincipal, getPrincipalAttributesAsMultiValuedAttributes, getProtocolAttributeEncoder, getProxyGrantingTicketId, getProxyGrantingTicketIou, getSatisfiedMultifactorAuthenticationProviderId, getServiceFrom, getServicesManager, isAssertionBackedByNewLogin, isRememberMeAuthentication, isSuccessResponse, putAllIntoModel, putIntoModeladdStaticAttribute, createMergedOutputModel, createRequestContext, createTemporaryOutputStream, exposeModelAsRequestAttributes, generatesDownloadContent, getAttributesMap, getBeanName, getContentType, getRequestContextAttribute, getRequestToExpose, getStaticAttributes, isExposePathVariables, prepareResponse, render, setAttributes, setAttributesCSV, setAttributesMap, setBeanName, setContentType, setExposeContextBeansAsAttributes, setExposedContextBeanNames, setExposePathVariables, setRequestContextAttribute, setResponseContentType, toString, writeToResponsegetServletContext, getTempDir, getWebApplicationContext, initApplicationContext, initServletContext, isContextRequired, setServletContextpublic static final java.lang.String ATTRIBUTE_NAME_MODEL_SERVICE_RESPONSE
public Cas30JsonResponseView(boolean successResponse,
org.apereo.cas.authentication.ProtocolAttributeEncoder protocolAttributeEncoder,
org.apereo.cas.services.ServicesManager servicesManager,
java.lang.String authenticationContextAttribute,
org.springframework.web.servlet.View delegatedView,
boolean releaseProtocolAttributes,
org.apereo.cas.authentication.AuthenticationAttributeReleasePolicy authenticationAttributeReleasePolicy,
org.apereo.cas.authentication.AuthenticationServiceSelectionPlan serviceSelectionStrategy,
org.apereo.cas.validation.CasProtocolAttributesRenderer attributesRenderer)
public Cas30JsonResponseView(boolean successResponse,
org.apereo.cas.authentication.ProtocolAttributeEncoder protocolAttributeEncoder,
org.apereo.cas.services.ServicesManager servicesManager,
java.lang.String authenticationContextAttribute,
boolean releaseProtocolAttributes,
org.apereo.cas.authentication.AuthenticationAttributeReleasePolicy authenticationAttributeReleasePolicy,
org.apereo.cas.authentication.AuthenticationServiceSelectionPlan serviceSelectionStrategy,
org.apereo.cas.validation.CasProtocolAttributesRenderer attributesRenderer)
protected void prepareMergedOutputModel(java.util.Map<java.lang.String,java.lang.Object> model,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
prepareMergedOutputModel in class Cas30ResponseView