edu.internet2.middleware.shibboleth.common.profile
Interface ProfileRequestContext<ProfileConfigurationType extends ProfileConfiguration>

Type Parameters:
ProfileConfigurationType - profile configuration type for current request
All Superinterfaces:
org.opensaml.ws.message.MessageContext
All Known Subinterfaces:
SAMLProfileRequestContext<InboundMessageType,OutboundMessageType,NameIdentifierType,ProfileConfigurationType>
All Known Implementing Classes:
BaseSAMLProfileRequestContext

public interface ProfileRequestContext<ProfileConfigurationType extends ProfileConfiguration>
extends org.opensaml.ws.message.MessageContext

Extension to the basic message conext that carries profile request specific information.


Method Summary
 ProfileConfigurationType getProfileConfiguration()
          Gets the configuration for the profile for the relying party.
 Collection<String> getReleasedAttributes()
          Gets the attributes, by ID, released to the peer.
 RelyingPartyConfiguration getRelyingPartyConfiguration()
          Gets the configuration for the relying party for this request.
 Session getUserSession()
          Gets the current user session, if there is one.
 void setProfileConfiguration(ProfileConfigurationType configuration)
          Sets the configuration for the profile for the relying party.
 void setReleasedAttributes(Collection<String> attributeIds)
          Sets the attributes, by ID, released to the peer.
 void setRelyingPartyConfiguration(RelyingPartyConfiguration configuration)
          Sets the configuration for the relying party for this request.
 void setUserSession(Session session)
          Sets the current user session.
 
Methods inherited from interface org.opensaml.ws.message.MessageContext
getCommunicationProfileId, getInboundMessage, getInboundMessageIssuer, getInboundMessageTransport, getOutboundMessage, getOutboundMessageIssuer, getOutboundMessageTransport, getSecurityPolicyResolver, isIssuerAuthenticated, setCommunicationProfileId, setInboundMessage, setInboundMessageIssuer, setInboundMessageTransport, setOutboundMessage, setOutboundMessageIssuer, setOutboundMessageTransport, setSecurityPolicyResolver
 

Method Detail

getProfileConfiguration

ProfileConfigurationType getProfileConfiguration()
Gets the configuration for the profile for the relying party.

Returns:
configuration for the profile for the relying party

getRelyingPartyConfiguration

RelyingPartyConfiguration getRelyingPartyConfiguration()
Gets the configuration for the relying party for this request.

Returns:
configuration for the relying party for this request

getUserSession

Session getUserSession()
Gets the current user session, if there is one.

Returns:
current user session

setProfileConfiguration

void setProfileConfiguration(ProfileConfigurationType configuration)
Sets the configuration for the profile for the relying party.

Parameters:
configuration - configuration for the profile for the relying party

setRelyingPartyConfiguration

void setRelyingPartyConfiguration(RelyingPartyConfiguration configuration)
Sets the configuration for the relying party for this request.

Parameters:
configuration - configuration for the relying party for this request

setUserSession

void setUserSession(Session session)
Sets the current user session.

Parameters:
session - current user session

getReleasedAttributes

Collection<String> getReleasedAttributes()
Gets the attributes, by ID, released to the peer.

Returns:
attributes released to the peer

setReleasedAttributes

void setReleasedAttributes(Collection<String> attributeIds)
Sets the attributes, by ID, released to the peer.

Parameters:
attributeIds - ids of the attributes released to the peer


Copyright © 2006-2008 Internet2. All Rights Reserved.