Class BasicSAMLArtifactMapEntry
java.lang.Object
org.opensaml.saml.common.binding.artifact.BasicSAMLArtifactMapEntry
- All Implemented Interfaces:
SAMLArtifactMap.SAMLArtifactMapEntry
- Direct Known Subclasses:
ExpiringSAMLArtifactMapEntry
public class BasicSAMLArtifactMapEntry
extends Object
implements SAMLArtifactMap.SAMLArtifactMapEntry
Basic implementation of
SAMLArtifactMap.SAMLArtifactMapEntry
.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final String
SAML artifact being mapped.private final String
EntityID of the issuer of the artifact.private final SAMLObject
SAML message mapped to the artifact.private final String
EntityID of the intended recipient of the artifact. -
Constructor Summary
ConstructorsConstructorDescriptionBasicSAMLArtifactMapEntry
(String samlArtifact, String issuerId, String relyingPartyId, SAMLObject samlMessage) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionGets the artifact that maps to the SAML message.Gets the ID of the issuer of the artifact.Gets the ID of the relying party the artifact was sent to.Gets SAML message the artifact maps to.
-
Field Details
-
artifact
SAML artifact being mapped. -
issuer
EntityID of the issuer of the artifact. -
relyingParty
EntityID of the intended recipient of the artifact. -
message
SAML message mapped to the artifact.
-
-
Constructor Details
-
BasicSAMLArtifactMapEntry
public BasicSAMLArtifactMapEntry(@Nonnull @NotEmpty String samlArtifact, @Nonnull @NotEmpty String issuerId, @Nonnull @NotEmpty String relyingPartyId, @Nonnull SAMLObject samlMessage) throws MarshallingException, UnmarshallingException Constructor.- Parameters:
samlArtifact
- artifact associated with the messageissuerId
- issuer of the artifactrelyingPartyId
- intended recipient of the artifactsamlMessage
- SAML message mapped to the artifact- Throws:
MarshallingException
- if an error occurs isolating a message from its parentUnmarshallingException
- if an error occurs isolating a message from its parent
-
-
Method Details
-
getArtifact
Gets the artifact that maps to the SAML message.- Specified by:
getArtifact
in interfaceSAMLArtifactMap.SAMLArtifactMapEntry
- Returns:
- artifact that maps to the SAML message
-
getIssuerId
Gets the ID of the issuer of the artifact.- Specified by:
getIssuerId
in interfaceSAMLArtifactMap.SAMLArtifactMapEntry
- Returns:
- ID of the issuer of the artifact
-
getRelyingPartyId
Gets the ID of the relying party the artifact was sent to.- Specified by:
getRelyingPartyId
in interfaceSAMLArtifactMap.SAMLArtifactMapEntry
- Returns:
- ID of the relying party the artifact was sent to
-
getSamlMessage
Gets SAML message the artifact maps to.- Specified by:
getSamlMessage
in interfaceSAMLArtifactMap.SAMLArtifactMapEntry
- Returns:
- SAML message the artifact maps to
-