public class SamlMetadataUIParserAction
extends org.springframework.webflow.action.AbstractAction
SamlMetadataUIParserAction that attempts to parse
the mdui extension block for a SAML SP from the provided metadata locations.
The result is put into the flow request context under the parameter
MDUI_FLOW_PARAMETER_NAME. The entity id parameter is
specified by default at ENTITY_ID_PARAMETER_NAME.
This action is best suited to be invoked when the CAS login page is about to render so that the page, once the MDUI info is obtained, has a chance to populate the UI with relevant info about the SP.
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ENTITY_ID_PARAMETER_NAME
The default entityId parameter name.
|
static java.lang.String |
MDUI_FLOW_PARAMETER_NAME
The default entityId parameter name.
|
| Constructor and Description |
|---|
SamlMetadataUIParserAction(MetadataResolverAdapter metadataAdapter)
Instantiates a new SAML mdui parser action.
|
SamlMetadataUIParserAction(java.lang.String entityIdParameterName,
MetadataResolverAdapter metadataAdapter)
Instantiates a new SAML mdui parser action.
|
| Modifier and Type | Method and Description |
|---|---|
protected org.springframework.webflow.execution.Event |
doExecute(org.springframework.webflow.execution.RequestContext requestContext) |
public static final java.lang.String ENTITY_ID_PARAMETER_NAME
public static final java.lang.String MDUI_FLOW_PARAMETER_NAME
public SamlMetadataUIParserAction(MetadataResolverAdapter metadataAdapter)
ENTITY_ID_PARAMETER_NAME.metadataAdapter - the metadata resourcespublic SamlMetadataUIParserAction(java.lang.String entityIdParameterName,
MetadataResolverAdapter metadataAdapter)
entityIdParameterName - the entity id parameter namemetadataAdapter - the metadata adapter