|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.opensaml.util.storage.AbstractExpiringObject org.opensaml.common.binding.artifact.BasicSAMLArtifactMapEntry
public class BasicSAMLArtifactMapEntry
Basic implementation of SAMLArtifactMap.SAMLArtifactMapEntry
.
Field Summary | |
---|---|
private String |
artifact
SAML artifact being mapped. |
private String |
issuer
Entity ID of the issuer of the artifact. |
private org.slf4j.Logger |
log
Class Logger. |
private SAMLObject |
message
SAML message mapped to the artifact. |
private String |
relyingParty
Entity ID of the receiver of the artifact. |
private String |
serializedMessage
Serialized SAML object mapped to the artifact. |
private static long |
serialVersionUID
Serial version UID. |
Constructor Summary | |
---|---|
BasicSAMLArtifactMapEntry(String samlArtifact,
String issuerId,
String relyingPartyId,
SAMLObject samlMessage,
long lifetime)
Constructor. |
|
BasicSAMLArtifactMapEntry(String samlArtifact,
String issuerId,
String relyingPartyId,
String serializedSAML,
long lifetime)
Deprecated. replacement BasicSAMLArtifactMapEntry(String, String, String, SAMLObject, long) |
Method Summary | |
---|---|
(package private) void |
deserializeMessage()
Deserialize the serialized message data held by the entry so that it is available as the SAMLObject samleMessage property. |
String |
getArtifact()
Gets the artifact that maps to the SAML message. |
String |
getIssuerId()
Gets the ID of the issuer of the artifact. |
String |
getRelyingPartyId()
Gets the ID of the relying party the artifact was sent to. |
SAMLObject |
getSamlMessage()
Gets SAML message the artifact maps to. |
(package private) String |
getSeralizedMessage()
Deprecated. replacement is: getSerializedMessage() |
(package private) String |
getSerializedMessage()
Gets the serialized form of the SAML message. |
private void |
readObject(ObjectInputStream in)
Deserialize the entry from the input stream. |
(package private) void |
serializeMessage()
Serialize the SAMLObject held by the entry and store in the class. |
(package private) void |
setSAMLMessage(SAMLObject saml)
Sets the SAML message mapped to the artifact. |
private void |
writeObject(ObjectOutputStream out)
Serialize the entry to the object output stream. |
Methods inherited from class org.opensaml.util.storage.AbstractExpiringObject |
---|
getExpirationTime, isExpired, onExpire |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.opensaml.util.storage.ExpiringObject |
---|
getExpirationTime, isExpired, onExpire |
Field Detail |
---|
private static final long serialVersionUID
private org.slf4j.Logger log
private String artifact
private String issuer
private String relyingParty
private transient SAMLObject message
private String serializedMessage
Constructor Detail |
---|
public BasicSAMLArtifactMapEntry(String samlArtifact, String issuerId, String relyingPartyId, String serializedSAML, long lifetime)
BasicSAMLArtifactMapEntry(String, String, String, SAMLObject, long)
samlArtifact
- artifact associated with the messageissuerId
- issuer of the artifactrelyingPartyId
- receiver of the artifactserializedSAML
- serialized SAML message mapped to the artifactlifetime
- lifetime of the artifact in millisecondspublic BasicSAMLArtifactMapEntry(String samlArtifact, String issuerId, String relyingPartyId, SAMLObject samlMessage, long lifetime)
samlArtifact
- artifact associated with the messageissuerId
- issuer of the artifactrelyingPartyId
- receiver of the artifactsamlMessage
- SAML message mapped to the artifactlifetime
- lifetime of the artifact in millisecondsMethod Detail |
---|
public String getArtifact()
getArtifact
in interface SAMLArtifactMap.SAMLArtifactMapEntry
public String getIssuerId()
getIssuerId
in interface SAMLArtifactMap.SAMLArtifactMapEntry
public String getRelyingPartyId()
getRelyingPartyId
in interface SAMLArtifactMap.SAMLArtifactMapEntry
public SAMLObject getSamlMessage()
getSamlMessage
in interface SAMLArtifactMap.SAMLArtifactMapEntry
void setSAMLMessage(SAMLObject saml)
saml
- SAML message mapped to the artifactString getSeralizedMessage()
getSerializedMessage()
String getSerializedMessage()
void serializeMessage()
This option is provided where explicit pre-serialization of the data is either necessary or desirable.
void deserializeMessage() throws IOException
This option is provided where explicit deserialization of the data is either necessary or desirable.
IOException
- if there is a problem parsing or unmarshalling the serialized messageprivate void writeObject(ObjectOutputStream out) throws IOException
out
- the output stream to which to serialize
IOException
- if there is a problem serializing the entryprivate void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
in
- the input stream from which to deserialize
IOException
- if the is a problem deserializing the object
ClassNotFoundException
- if there is a problem loading the class of the object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |