edu.internet2.middleware.shibboleth.idp.profile.saml2
Class SAML2ECPProfileHandler.ECPRequestContext

java.lang.Object
  extended by org.opensaml.ws.message.BaseMessageContext
      extended by org.opensaml.common.binding.BasicSAMLMessageContext<InboundMessage,OutboundMessage,NameIdentifierType>
          extended by edu.internet2.middleware.shibboleth.common.profile.provider.BaseSAMLProfileRequestContext<RequestType,ResponseType,NameID,ProfileConfigurationType>
              extended by edu.internet2.middleware.shibboleth.idp.profile.saml2.BaseSAML2ProfileRequestContext<AuthnRequest,Response,SSOConfiguration>
                  extended by edu.internet2.middleware.shibboleth.idp.profile.saml2.SSOProfileHandler.SSORequestContext
                      extended by edu.internet2.middleware.shibboleth.idp.profile.saml2.SAML2ECPProfileHandler.ECPRequestContext
All Implemented Interfaces:
AttributeRequestContext, ProfileRequestContext<SSOConfiguration>, SAMLProfileRequestContext<AuthnRequest,Response,NameID,SSOConfiguration>, SAMLMessageContext<AuthnRequest,Response,NameID>, MessageContext
Enclosing class:
SAML2ECPProfileHandler

protected class SAML2ECPProfileHandler.ECPRequestContext
extends SSOProfileHandler.SSORequestContext

Extended context information specific to ECP requests.


Field Summary
private  List<ChannelBindings> clientChannelBindings
          Channel bindings from client.
private  String generatedKey
          Session key for GSS-API generated by IdP.
private  ChannelBindings matchedChannelBindings
          A channel bindings structure that matched.
private  List<ChannelBindings> spChannelBindings
          Channel bindings from SP.
 
Constructor Summary
SAML2ECPProfileHandler.ECPRequestContext()
          Constructor.
 
Method Summary
 List<ChannelBindings> getClientChannelBindings()
          Get the channel bindings sent from the client for the SP.
 String getGeneratedKey()
          Get the session key generated by the IdP.
 ChannelBindings getMatchedChannelBindings()
          Get the verified channel bindings, if any.
 List<ChannelBindings> getSPChannelBindings()
          Get the channel bindings sent from the SP for itself.
 void setMatchedChannelBindings(ChannelBindings cb)
          Set the verified channel bindings, if any.
 
Methods inherited from class edu.internet2.middleware.shibboleth.idp.profile.saml2.SSOProfileHandler.SSORequestContext
getLoginContext, isUnsolicited, setLoginContext, setUnsolicited
 
Methods inherited from class edu.internet2.middleware.shibboleth.idp.profile.saml2.BaseSAML2ProfileRequestContext
getFailureStatus, setFailureStatus
 
Methods inherited from class edu.internet2.middleware.shibboleth.common.profile.provider.BaseSAMLProfileRequestContext
getAttributes, getMessageDecoder, getMessageEncoder, getNameIdentifierAttribute, getPrincipalAuthenticationMethod, getPrincipalName, getProfileConfiguration, getReleasedAttributes, getRelyingPartyConfiguration, getRequestedAttributesIds, getUserSession, setAttributes, setMessageDecoder, setMessageEncoder, setNameIdentifierAttribute, setPrincipalAuthenticationMethod, setPrincipalName, setProfileConfiguration, setReleasedAttributes, setRelyingPartyConfiguration, setRequestedAttributes, setUserSession
 
Methods inherited from class org.opensaml.common.binding.BasicSAMLMessageContext
getInboundSAMLMessage, getInboundSAMLMessageId, getInboundSAMLMessageIssueInstant, getInboundSAMLProtocol, getLocalEntityId, getLocalEntityMetadata, getLocalEntityRole, getLocalEntityRoleMetadata, getMetadataProvider, getOuboundSAMLMessageSigningCredential, getOutboundMessageArtifactType, getOutboundSAMLMessage, getOutboundSAMLMessageId, getOutboundSAMLMessageIssueInstant, getOutboundSAMLProtocol, getPeerEntityEndpoint, getPeerEntityId, getPeerEntityMetadata, getPeerEntityRole, getPeerEntityRoleMetadata, getRelayState, getSubjectNameIdentifier, isInboundSAMLMessageAuthenticated, isIssuerAuthenticated, setInboundSAMLMessage, setInboundSAMLMessageAuthenticated, setInboundSAMLMessageId, setInboundSAMLMessageIssueInstant, setInboundSAMLProtocol, setLocalEntityId, setLocalEntityMetadata, setLocalEntityRole, setLocalEntityRoleMetadata, setMetadataProvider, setOutboundMessageArtifactType, setOutboundSAMLMessage, setOutboundSAMLMessageId, setOutboundSAMLMessageIssueInstant, setOutboundSAMLMessageSigningCredential, setOutboundSAMLProtocol, setPeerEntityEndpoint, setPeerEntityId, setPeerEntityMetadata, setPeerEntityRole, setPeerEntityRoleMetadata, setRelayState, setSubjectNameIdentifier
 
Methods inherited from class org.opensaml.ws.message.BaseMessageContext
getCommunicationProfileId, getInboundMessage, getInboundMessageIssuer, getInboundMessageTransport, getOutboundHandlerChainResolver, getOutboundMessage, getOutboundMessageIssuer, getOutboundMessageTransport, getPostSecurityInboundHandlerChainResolver, getPreSecurityInboundHandlerChainResolver, getSecurityPolicyResolver, setCommunicationProfileId, setInboundMessage, setInboundMessageIssuer, setInboundMessageTransport, setOutboundHandlerChainResolver, setOutboundMessage, setOutboundMessageIssuer, setOutboundMessageTransport, setPostSecurityInboundHandlerChainResolver, setPreSecurityInboundHandlerChainResolver, setSecurityPolicyResolver
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.opensaml.common.binding.SAMLMessageContext
getInboundSAMLMessage, getInboundSAMLMessageId, getInboundSAMLMessageIssueInstant, getInboundSAMLProtocol, getLocalEntityId, getLocalEntityMetadata, getLocalEntityRole, getLocalEntityRoleMetadata, getMetadataProvider, getOuboundSAMLMessageSigningCredential, getOutboundMessageArtifactType, getOutboundSAMLMessage, getOutboundSAMLMessageId, getOutboundSAMLMessageIssueInstant, getOutboundSAMLProtocol, getPeerEntityEndpoint, getPeerEntityId, getPeerEntityMetadata, getPeerEntityRole, getPeerEntityRoleMetadata, getRelayState, getSubjectNameIdentifier, isInboundSAMLMessageAuthenticated, setInboundSAMLMessage, setInboundSAMLMessageAuthenticated, setInboundSAMLMessageId, setInboundSAMLMessageIssueInstant, setInboundSAMLProtocol, setLocalEntityId, setLocalEntityMetadata, setLocalEntityRole, setLocalEntityRoleMetadata, setMetadataProvider, setOutboundMessageArtifactType, setOutboundSAMLMessage, setOutboundSAMLMessageId, setOutboundSAMLMessageIssueInstant, setOutboundSAMLMessageSigningCredential, setOutboundSAMLProtocol, setPeerEntityEndpoint, setPeerEntityId, setPeerEntityMetadata, setPeerEntityRole, setPeerEntityRoleMetadata, setRelayState, setSubjectNameIdentifier
 
Methods inherited from interface org.opensaml.ws.message.MessageContext
getCommunicationProfileId, getInboundMessage, getInboundMessageIssuer, getInboundMessageTransport, getOutboundHandlerChainResolver, getOutboundMessage, getOutboundMessageIssuer, getOutboundMessageTransport, getPostSecurityInboundHandlerChainResolver, getPreSecurityInboundHandlerChainResolver, getSecurityPolicyResolver, isIssuerAuthenticated, setCommunicationProfileId, setInboundMessage, setInboundMessageIssuer, setInboundMessageTransport, setOutboundHandlerChainResolver, setOutboundMessage, setOutboundMessageIssuer, setOutboundMessageTransport, setPostSecurityInboundHandlerChainResolver, setPreSecurityInboundHandlerChainResolver, setSecurityPolicyResolver
 

Field Detail

spChannelBindings

private List<ChannelBindings> spChannelBindings
Channel bindings from SP.


clientChannelBindings

private List<ChannelBindings> clientChannelBindings
Channel bindings from client.


matchedChannelBindings

private ChannelBindings matchedChannelBindings
A channel bindings structure that matched.


generatedKey

private final String generatedKey
Session key for GSS-API generated by IdP.

Constructor Detail

SAML2ECPProfileHandler.ECPRequestContext

public SAML2ECPProfileHandler.ECPRequestContext()
Constructor.

Method Detail

getSPChannelBindings

public List<ChannelBindings> getSPChannelBindings()
Get the channel bindings sent from the SP for itself.

Returns:
the SP's channel bindings

getClientChannelBindings

public List<ChannelBindings> getClientChannelBindings()
Get the channel bindings sent from the client for the SP.

Returns:
the client's channel bindings between itself and the SP

getMatchedChannelBindings

public ChannelBindings getMatchedChannelBindings()
Get the verified channel bindings, if any.

Returns:
a ChannelBindings element that matched, or null

setMatchedChannelBindings

public void setMatchedChannelBindings(ChannelBindings cb)
Set the verified channel bindings, if any.

Parameters:
cb - a ChannelBindings element that matched

getGeneratedKey

public String getGeneratedKey()
Get the session key generated by the IdP.

Returns:
the generated session key


Copyright © 1999-2013. All Rights Reserved.