public class Saml2ContextProvider extends Object
ExtendedSAMLMessageContext from given SAML2 properties (idpEntityId and metadata
manager) and current WebContext.| Modifier and Type | Field and Description |
|---|---|
protected String |
idpEntityId |
protected static org.slf4j.Logger |
logger |
protected org.opensaml.saml2.metadata.provider.MetadataProvider |
metadata |
protected String |
spEntityId |
| Constructor and Description |
|---|
Saml2ContextProvider(org.opensaml.saml2.metadata.provider.MetadataProvider metadata,
String idpEntityId,
String spEntityId) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addIDPContext(org.opensaml.common.binding.BasicSAMLMessageContext context) |
protected void |
addSPContext(org.opensaml.common.binding.BasicSAMLMessageContext context) |
protected void |
addTransportContext(WebContext webContext,
org.opensaml.common.binding.BasicSAMLMessageContext context) |
ExtendedSAMLMessageContext |
buildSpAndIdpContext(WebContext webContext) |
ExtendedSAMLMessageContext |
buildSpContext(WebContext webContext) |
protected static final org.slf4j.Logger logger
protected org.opensaml.saml2.metadata.provider.MetadataProvider metadata
protected String idpEntityId
protected String spEntityId
public ExtendedSAMLMessageContext buildSpContext(WebContext webContext)
public ExtendedSAMLMessageContext buildSpAndIdpContext(WebContext webContext)
protected void addTransportContext(WebContext webContext, org.opensaml.common.binding.BasicSAMLMessageContext context)
protected void addSPContext(org.opensaml.common.binding.BasicSAMLMessageContext context)
protected void addIDPContext(org.opensaml.common.binding.BasicSAMLMessageContext context)
Copyright © 2014. All rights reserved.