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.casAttributeEncoder, logger, servicesManager, successResponse
Constructor and Description |
---|
Cas30JsonResponseView()
Instantiates a new json response view.
|
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)
Prepare merged output model before final rendering.
|
java.lang.String |
toString() |
getCasPrincipalAttributes, getCasProtocolAuthenticationAttributes, putCasResponseAttributesIntoModel, setAuthenticationContextAttribute, setReleaseProtocolAttributes
getView, renderMergedOutputModel, setView
decideAttributeReleaseBasedOnServiceAttributePolicy, decideIfCredentialPasswordShouldBeReleasedAsAttribute, decideIfProxyGrantingTicketShouldBeReleasedAsAttribute, getAssertionFrom, getAuthenticationAttribute, getAuthenticationAttributes, getAuthenticationAttributesAsMultiValuedAttributes, getAuthenticationContextAttribute, getAuthenticationDate, getCasAttributeEncoder, getChainedAuthentications, getErrorCodeFrom, getErrorDescriptionFrom, getModelAttributes, getPrimaryAuthenticationFrom, getPrincipal, getPrincipalAttributesAsMultiValuedAttributes, getProxyGrantingTicketId, getProxyGrantingTicketIou, getSatisfiedMultifactorAuthenticationProvider, getServiceFrom, getServicesManager, isAssertionBackedByNewLogin, isRememberMeAuthentication, putAllIntoModel, putIntoModel, setCasAttributeEncoder, setServicesManager, setSuccessResponse
addStaticAttribute, createMergedOutputModel, createRequestContext, createTemporaryOutputStream, exposeModelAsRequestAttributes, generatesDownloadContent, getAttributesMap, getBeanName, getContentType, getRequestContextAttribute, getRequestToExpose, getStaticAttributes, isExposePathVariables, prepareResponse, render, setAttributes, setAttributesCSV, setAttributesMap, setBeanName, setContentType, setExposeContextBeansAsAttributes, setExposedContextBeanNames, setExposePathVariables, setRequestContextAttribute, setResponseContentType, writeToResponse
getServletContext, getTempDir, getWebApplicationContext, initApplicationContext, initServletContext, isContextRequired, setServletContext
public Cas30JsonResponseView()
public java.lang.String toString()
toString
in class org.springframework.web.servlet.view.AbstractView
protected void prepareMergedOutputModel(java.util.Map<java.lang.String,java.lang.Object> model, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.lang.Exception
AbstractDelegatingCasView
prepareMergedOutputModel
in class Cas30ResponseView
model
- the modelrequest
- the requestresponse
- the responsejava.lang.Exception
- the exception