Class Saml2AuthnRequestReceivedEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
se.swedenconnect.spring.saml.idp.events.AbstractSaml2IdpEvent
se.swedenconnect.spring.saml.idp.events.Saml2AuthnRequestReceivedEvent
- All Implemented Interfaces:
Serializable
Event that signals that a SAML2
AuthnRequest has been received. Note that the request has not been verified
at this point.- Author:
- Martin Lindström
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionConstructor. -
Method Summary
Modifier and TypeMethodDescriptionGets the receivedAuthnRequestmessage.Gets theSaml2AuthnRequestAuthenticationTokenfor this event.Gets the SAML entityID of the SP that sent theAuthnRequestmessage.Methods inherited from class org.springframework.context.ApplicationEvent
getTimestampMethods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
Saml2AuthnRequestReceivedEvent
Constructor.- Parameters:
token- aSaml2AuthnRequestAuthenticationToken
-
-
Method Details
-
getAuthnRequestToken
Gets theSaml2AuthnRequestAuthenticationTokenfor this event.- Returns:
- a
Saml2AuthnRequestAuthenticationToken - See Also:
-
getSpEntityId
Gets the SAML entityID of the SP that sent theAuthnRequestmessage.- Returns:
- the SP SAML entityID
-
getAuthnRequest
Gets the receivedAuthnRequestmessage.- Returns:
- the
AuthnRequest
-