Class Saml2ErrorResponseEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
se.swedenconnect.spring.saml.idp.events.AbstractSaml2IdpEvent
se.swedenconnect.spring.saml.idp.events.Saml2ErrorResponseEvent
- All Implemented Interfaces:
Serializable
An event that signals that a SAML error response is being sent.
- Author:
- Martin Lindström
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionSaml2ErrorResponseEvent
(org.opensaml.saml.saml2.core.Response response, String spEntityId) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionorg.opensaml.saml.saml2.core.Response
Gets the SAML response.Gets the entityID of the SP that we are sending the response to.org.opensaml.saml.saml2.core.Status
Gets the SAMLStatus
that was sent.Methods inherited from class org.springframework.context.ApplicationEvent
getTimestamp
Methods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
Saml2ErrorResponseEvent
Constructor.- Parameters:
response
- the SAML responsespEntityId
- the entityID of the SP that we are sending the response to
-
-
Method Details
-
getResponse
public org.opensaml.saml.saml2.core.Response getResponse()Gets the SAML response.- Returns:
- the
Response
-
getSpEntityId
Gets the entityID of the SP that we are sending the response to.- Returns:
- SP SAML entityID
-
getStatus
public org.opensaml.saml.saml2.core.Status getStatus()Gets the SAMLStatus
that was sent.- Returns:
- SAML
Status
-