Class IdPInitiatedSSORequest
java.lang.Object
net.shibboleth.idp.saml.profile.impl.IdPInitiatedSSORequest
Object representing a Shibboleth Authentication Request message.
This message is used for IdP-initiated authentication requests and is defined by the Shibboleth
Architecture Protocol and Profiles specification. Note, this document was written prior to the creation of
SAML 2 and so only mentioned version 1 but this message may be used with either version. The SAML 2
authentication request should be used by SAML 2 service providers wishing to initiate authentication.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final String
The assertion consumer service endpoint, at the service provider, to which to deliver the authentication response.private final String
The entityID of the requesting service provider.private final String
An opaque value to be returned to the service provider with the authentication response.private final Instant
The current time, at the service provider. -
Constructor Summary
ConstructorsConstructorDescriptionIdPInitiatedSSORequest
(String newEntityId, String url, String target, Instant newTime) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Get the assertion consumer service endpoint at the SP to which to deliver the response.Get the entityID of the requesting relying party.Get the opaque value to be returned to the SP with the response.getTime()
Get the current time at the SP.int
hashCode()
toString()
-
Field Details
-
entityId
The entityID of the requesting service provider. -
acsURL
The assertion consumer service endpoint, at the service provider, to which to deliver the authentication response. -
relayState
An opaque value to be returned to the service provider with the authentication response. -
time
The current time, at the service provider.
-
-
Constructor Details
-
IdPInitiatedSSORequest
public IdPInitiatedSSORequest(@Nonnull @NotEmpty String newEntityId, @Nullable String url, @Nullable String target, @Nullable Instant newTime) Constructor.If no message time is supplied, then the current time at the IdP is used.
- Parameters:
newEntityId
- entity ID of the requesting SPurl
- assertion consumer service endpoint at the SP to which to deliver the responsetarget
- opaque value to be returned to the SP with the responsenewTime
- current time at the SP
-
-
Method Details
-
getEntityId
Get the entityID of the requesting relying party.- Returns:
- entityID of the requesting relying party
-
getAssertionConsumerServiceURL
Get the assertion consumer service endpoint at the SP to which to deliver the response.- Returns:
- assertion consumer service endpoint at the SP to which to deliver the response
-
getRelayState
Get the opaque value to be returned to the SP with the response.- Returns:
- opaque value to be returned to the SP with the response
-
getTime
Get the current time at the SP.- Returns:
- current time at the SP
-
toString
-
hashCode
public int hashCode() -
equals
-