Class Saml2ResponseAttributes
java.lang.Object
se.swedenconnect.spring.saml.idp.response.Saml2ResponseAttributes
- All Implemented Interfaces:
Serializable
Attributes needed when creating a SAML
Response
message.- Author:
- Martin Lindström
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
copyInto
(Saml2ResponseAttributes responseAttributes) Fills the object with the suppliedSaml2ResponseAttributes
.Gets theDestination
attribute.Gets theInResponseTo
attribute.org.opensaml.saml.saml2.metadata.EntityDescriptor
Gets the peer SAML metadata.Gets theRelayState
variable.void
setDestination
(String destination) Gets theDestination
attribute.void
setInResponseTo
(String inResponseTo) Assigns theInResponseTo
attribute.void
setPeerMetadata
(org.opensaml.saml.saml2.metadata.EntityDescriptor peerMetadata) Assigns the peer SAML metadata.void
setRelayState
(String relayState) Assigns theRelayState
variable.
-
Constructor Details
-
Saml2ResponseAttributes
public Saml2ResponseAttributes()Constructor.
-
-
Method Details
-
getRelayState
Gets theRelayState
variable.- Returns:
- the
RelayState
variable
-
setRelayState
Assigns theRelayState
variable.- Parameters:
relayState
- theRelayState
variable
-
getInResponseTo
Gets theInResponseTo
attribute.- Returns:
- the
InResponseTo
attribute
-
setInResponseTo
Assigns theInResponseTo
attribute.- Parameters:
inResponseTo
- theInResponseTo
attribute
-
getDestination
Gets theDestination
attribute.- Returns:
- the
Destination
attribute
-
setDestination
Gets theDestination
attribute.- Parameters:
destination
- theDestination
attribute
-
getPeerMetadata
public org.opensaml.saml.saml2.metadata.EntityDescriptor getPeerMetadata()Gets the peer SAML metadata.- Returns:
- the peer SAML metadata
-
setPeerMetadata
public void setPeerMetadata(org.opensaml.saml.saml2.metadata.EntityDescriptor peerMetadata) Assigns the peer SAML metadata.- Parameters:
peerMetadata
- the peer SAML metadata
-
copyInto
Fills the object with the suppliedSaml2ResponseAttributes
.- Parameters:
responseAttributes
- the object to copy from
-