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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcopyInto(Saml2ResponseAttributes responseAttributes) Fills the object with the suppliedSaml2ResponseAttributes.Gets theDestinationattribute.Gets theInResponseToattribute.Gets the peer SAML metadata.Gets theRelayStatevariable.voidsetDestination(String destination) Gets theDestinationattribute.voidsetInResponseTo(String inResponseTo) Assigns theInResponseToattribute.voidsetPeerMetadata(EntityDescriptor peerMetadata) Assigns the peer SAML metadata.voidsetRelayState(String relayState) Assigns theRelayStatevariable.
-
Constructor Details
-
Saml2ResponseAttributes
public Saml2ResponseAttributes()Constructor.
-
-
Method Details
-
getRelayState
Gets theRelayStatevariable.- Returns:
- the
RelayStatevariable
-
setRelayState
Assigns theRelayStatevariable.- Parameters:
relayState- theRelayStatevariable
-
getInResponseTo
Gets theInResponseToattribute.- Returns:
- the
InResponseToattribute
-
setInResponseTo
Assigns theInResponseToattribute.- Parameters:
inResponseTo- theInResponseToattribute
-
getDestination
Gets theDestinationattribute.- Returns:
- the
Destinationattribute
-
setDestination
Gets theDestinationattribute.- Parameters:
destination- theDestinationattribute
-
getPeerMetadata
Gets the peer SAML metadata.- Returns:
- the peer SAML metadata
-
setPeerMetadata
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
-