org.jasig.cas.web.view
Class Saml10SuccessResponseView
java.lang.Object
org.springframework.context.support.ApplicationObjectSupport
org.springframework.web.context.support.WebApplicationObjectSupport
org.springframework.web.servlet.view.AbstractView
org.jasig.cas.web.view.AbstractCasView
org.jasig.cas.web.view.AbstractSaml10ResponseView
org.jasig.cas.web.view.Saml10SuccessResponseView
- All Implemented Interfaces:
- org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanNameAware, org.springframework.context.ApplicationContextAware, org.springframework.web.context.ServletContextAware, org.springframework.web.servlet.View
public final class Saml10SuccessResponseView
- extends AbstractSaml10ResponseView
Implementation of a view to return a SAML SOAP response and assertion, based on
the SAML 1.1 specification.
If an AttributePrincipal is supplied, then the assertion will include the
attributes from it (assuming a String key/Object value pair). The only
Authentication attribute it will look at is the authMethod (if supplied).
Note that this class will currently not handle proxy authentication.
Note: This class currently expects a bean called "ServiceRegistry" to exist.
- Since:
- 3.1
- Author:
- Scott Battaglia, Marvin S. Addison
| Fields inherited from class org.springframework.web.servlet.view.AbstractView |
DEFAULT_CONTENT_TYPE |
| Fields inherited from class org.springframework.context.support.ApplicationObjectSupport |
logger |
| Fields inherited from interface org.springframework.web.servlet.View |
PATH_VARIABLES, RESPONSE_STATUS_ATTRIBUTE |
| Methods inherited from class org.springframework.web.servlet.view.AbstractView |
addStaticAttribute, createMergedOutputModel, createRequestContext, createTemporaryOutputStream, exposeModelAsRequestAttributes, generatesDownloadContent, getAttributesMap, getBeanName, getContentType, getRequestContextAttribute, getStaticAttributes, isExposePathVariables, prepareResponse, render, setAttributes, setAttributesCSV, setAttributesMap, setBeanName, setContentType, setExposePathVariables, setRequestContextAttribute, toString, writeToResponse |
| Methods inherited from class org.springframework.web.context.support.WebApplicationObjectSupport |
getServletContext, getTempDir, getWebApplicationContext, initApplicationContext, initServletContext, isContextRequired, setServletContext |
| Methods inherited from class org.springframework.context.support.ApplicationObjectSupport |
getApplicationContext, getMessageSourceAccessor, initApplicationContext, requiredContextClass, setApplicationContext |
Saml10SuccessResponseView
public Saml10SuccessResponseView()
prepareResponse
protected void prepareResponse(org.opensaml.saml1.core.Response response,
Map<String,Object> model)
- Description copied from class:
AbstractSaml10ResponseView
- Subclasses must implement this method by adding child elements (status, assertion, etc) to
the given empty SAML 1 response message. Impelmenters need not be concerned with error handling.
- Specified by:
prepareResponse in class AbstractSaml10ResponseView
- Parameters:
response - SAML 1 response message to be filled.model - Spring MVC model map containing data needed to prepare response.
setIssueLength
public void setIssueLength(long issueLength)
setIssuer
public void setIssuer(String issuer)
setRememberMeAttributeName
public void setRememberMeAttributeName(String rememberMeAttributeName)
Copyright © 2004-2013 Jasig. All Rights Reserved.