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
ConstructorDescriptionConstructor. -
Method Summary
Modifier and TypeMethodDescriptionorg.opensaml.saml.saml2.core.AuthnRequest
Gets the receivedAuthnRequest
message.Gets theSaml2AuthnRequestAuthenticationToken
for this event.Gets the SAML entityID of the SP that sent theAuthnRequest
message.Methods inherited from class org.springframework.context.ApplicationEvent
getTimestamp
Methods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
Saml2AuthnRequestReceivedEvent
Constructor.- Parameters:
token
- aSaml2AuthnRequestAuthenticationToken
-
-
Method Details
-
getAuthnRequestToken
Gets theSaml2AuthnRequestAuthenticationToken
for this event.- Returns:
- a
Saml2AuthnRequestAuthenticationToken
- See Also:
-
getSpEntityId
Gets the SAML entityID of the SP that sent theAuthnRequest
message.- Returns:
- the SP SAML entityID
-
getAuthnRequest
public org.opensaml.saml.saml2.core.AuthnRequest getAuthnRequest()Gets the receivedAuthnRequest
message.- Returns:
- the
AuthnRequest
-