InboundMessage
- type of inbound SAML messageOutboundMessage
- type of outbound SAML messageNameIdentifierType
- type of name identifier used for subjectsProfileConfigurationType
- profile configuration type for current requestpublic class BaseSAMLProfileRequestContext<InboundMessage extends SAMLObject,OutboundMessage extends SAMLObject,NameIdentifierType extends SAMLObject,ProfileConfigurationType extends ProfileConfiguration> extends BasicSAMLMessageContext<InboundMessage,OutboundMessage,NameIdentifierType> implements SAMLProfileRequestContext<InboundMessage,OutboundMessage,NameIdentifierType,ProfileConfigurationType>
Modifier and Type | Field and Description |
---|---|
private SAMLMessageDecoder |
messageDecoder
Decoder used to decode inbound message.
|
private SAMLMessageEncoder |
messageEncoder
Encoder used to encode outbound message.
|
private BaseAttribute |
nameIdentifierAttribute
Attribute encoded as the SAML name identifier.
|
private Map<String,BaseAttribute> |
principalAttributes
Attributes retrieved for the principal.
|
private String |
principalAuthenticationMethod
Authentication method used to authenticate the principal.
|
private String |
principalName
Principal name of the subject of the request.
|
private ProfileConfigurationType |
profileConfiguration
Configuration for the profile.
|
private Collection<String> |
releasedAttributeIds
IDs of attribute released to relying party.
|
private RelyingPartyConfiguration |
relyingPartyConfiguration
Configuration for the relying party.
|
private Collection<String> |
requestedAttributeIds
IDs of attribute requested by relaying party.
|
private Session |
userSession
Current user's session.
|
Constructor and Description |
---|
BaseSAMLProfileRequestContext() |
Modifier and Type | Method and Description |
---|---|
Map<String,BaseAttribute> |
getAttributes()
Gets the retrieved attributes.
|
SAMLMessageDecoder |
getMessageDecoder()
Gets the message decoder used to decode the message from the inbound transport.
|
SAMLMessageEncoder |
getMessageEncoder()
Gets the message encoder used to encoder the message onto the outbound transport.
|
BaseAttribute |
getNameIdentifierAttribute()
Gets the attribute encoded as the SAML name identifier.
|
String |
getPrincipalAuthenticationMethod()
Gets the method used to authenticate the principal.
|
String |
getPrincipalName()
Gets the principal name of the subject of the request.
|
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.
|
Collection<String> |
getRequestedAttributesIds()
Gets the collection of IDs for the attributes being requested by the relying party.
|
Session |
getUserSession()
Gets the current user session, if there is one.
|
void |
setAttributes(Map<String,BaseAttribute> attributes)
Sets the retrieved attributes.
|
void |
setMessageDecoder(SAMLMessageDecoder decoder)
Sets the message decoder used to decode the message from the inbound transport.
|
void |
setMessageEncoder(SAMLMessageEncoder encoder)
Sets the message encoder used to encoder the message onto the outbound transport.
|
void |
setNameIdentifierAttribute(BaseAttribute attribute)
Sets the attribute encoded as the SAML name identifier.
|
void |
setPrincipalAuthenticationMethod(String method)
Sets the method used to authenticate the principal.
|
void |
setPrincipalName(String name)
Sets the principal name of the subject of the request.
|
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 |
setRequestedAttributes(Collection<String> ids)
Sets the collection of IDs for the attributes being requested by the relying party.
|
void |
setUserSession(Session session)
Sets the current user session.
|
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
getCommunicationProfileId, getInboundMessage, getInboundMessageIssuer, getInboundMessageTransport, getOutboundHandlerChainResolver, getOutboundMessage, getOutboundMessageIssuer, getOutboundMessageTransport, getPostSecurityInboundHandlerChainResolver, getPreSecurityInboundHandlerChainResolver, getSecurityPolicyResolver, setCommunicationProfileId, setInboundMessage, setInboundMessageIssuer, setInboundMessageTransport, setOutboundHandlerChainResolver, setOutboundMessage, setOutboundMessageIssuer, setOutboundMessageTransport, setPostSecurityInboundHandlerChainResolver, setPreSecurityInboundHandlerChainResolver, setSecurityPolicyResolver
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
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
getCommunicationProfileId, getInboundMessage, getInboundMessageIssuer, getInboundMessageTransport, getOutboundHandlerChainResolver, getOutboundMessage, getOutboundMessageIssuer, getOutboundMessageTransport, getPostSecurityInboundHandlerChainResolver, getPreSecurityInboundHandlerChainResolver, getSecurityPolicyResolver, isIssuerAuthenticated, setCommunicationProfileId, setInboundMessage, setInboundMessageIssuer, setInboundMessageTransport, setOutboundHandlerChainResolver, setOutboundMessage, setOutboundMessageIssuer, setOutboundMessageTransport, setPostSecurityInboundHandlerChainResolver, setPreSecurityInboundHandlerChainResolver, setSecurityPolicyResolver
private SAMLMessageDecoder messageDecoder
private SAMLMessageEncoder messageEncoder
private Map<String,BaseAttribute> principalAttributes
private String principalAuthenticationMethod
private String principalName
private BaseAttribute nameIdentifierAttribute
private ProfileConfigurationType extends ProfileConfiguration profileConfiguration
private Collection<String> releasedAttributeIds
private RelyingPartyConfiguration relyingPartyConfiguration
private Collection<String> requestedAttributeIds
private Session userSession
public Map<String,BaseAttribute> getAttributes()
getAttributes
in interface AttributeRequestContext
public SAMLMessageDecoder getMessageDecoder()
public SAMLMessageEncoder getMessageEncoder()
public BaseAttribute getNameIdentifierAttribute()
public String getPrincipalAuthenticationMethod()
getPrincipalAuthenticationMethod
in interface AttributeRequestContext
public String getPrincipalName()
getPrincipalName
in interface AttributeRequestContext
public ProfileConfigurationType getProfileConfiguration()
getProfileConfiguration
in interface ProfileRequestContext<ProfileConfigurationType extends ProfileConfiguration>
public Collection<String> getReleasedAttributes()
getReleasedAttributes
in interface ProfileRequestContext<ProfileConfigurationType extends ProfileConfiguration>
public RelyingPartyConfiguration getRelyingPartyConfiguration()
getRelyingPartyConfiguration
in interface ProfileRequestContext<ProfileConfigurationType extends ProfileConfiguration>
public Collection<String> getRequestedAttributesIds()
getRequestedAttributesIds
in interface AttributeRequestContext
public Session getUserSession()
getUserSession
in interface ProfileRequestContext<ProfileConfigurationType extends ProfileConfiguration>
public void setAttributes(Map<String,BaseAttribute> attributes)
setAttributes
in interface AttributeRequestContext
attributes
- retrieved attributespublic void setMessageDecoder(SAMLMessageDecoder decoder)
decoder
- message decoder used to decode the message from the inbound transportpublic void setMessageEncoder(SAMLMessageEncoder encoder)
encoder
- message encoder used to encoder the message onto the outbound transportpublic void setNameIdentifierAttribute(BaseAttribute attribute)
attribute
- attribute encoded as the SAML name identifierpublic void setPrincipalAuthenticationMethod(String method)
setPrincipalAuthenticationMethod
in interface AttributeRequestContext
method
- method used to authenticate the principalpublic void setPrincipalName(String name)
setPrincipalName
in interface AttributeRequestContext
name
- principal name of the subject of the requestpublic void setProfileConfiguration(ProfileConfigurationType configuration)
setProfileConfiguration
in interface ProfileRequestContext<ProfileConfigurationType extends ProfileConfiguration>
configuration
- configuration for the profile for the relying partypublic void setReleasedAttributes(Collection<String> attributeIds)
setReleasedAttributes
in interface ProfileRequestContext<ProfileConfigurationType extends ProfileConfiguration>
attributeIds
- ids of the attributes released to the peerpublic void setRelyingPartyConfiguration(RelyingPartyConfiguration configuration)
setRelyingPartyConfiguration
in interface ProfileRequestContext<ProfileConfigurationType extends ProfileConfiguration>
configuration
- configuration for the relying party for this requestpublic void setRequestedAttributes(Collection<String> ids)
setRequestedAttributes
in interface AttributeRequestContext
ids
- collection of IDs for the attributes being requested by the relying partypublic void setUserSession(Session session)
setUserSession
in interface ProfileRequestContext<ProfileConfigurationType extends ProfileConfiguration>
session
- current user sessionCopyright © 1999-2012. All Rights Reserved.