- All Superinterfaces:
IuSessionConfiguration
Provides client configuration metadata for interacting with an SAML
authorization server.
The interface should be implemented by the application client module requiring authorization on behalf of an SAML identity provider.
-
Method Summary
Modifier and TypeMethodDescriptionGets the list of assertion ConsumerURIGets allowed list of IP addresses to validate against SAML responsedefault DurationGets the maximum length of time to allow an authenticated session to be remain active before requesting the provide re-establish credentials for the principal.Gets the SAML Service Provider identity keys.Gets an ordered set of registered Identity Provider Entity IDs.default DurationGets the maximum time interval to re-established metadata resolver typically measured in seconds.Gets the SAML metadataURIto retrieve configure metadata file that is configured directly into the SAML provider by administratordefault StringGets the name of the SAML Assertion Attribute that contains the principal name.Gets the Service Provider registered Entity ID.default booleanGets whether to fail on address mismatch or not, true if required, false if notMethods inherited from interface edu.iu.auth.config.IuSessionConfiguration
getInactiveTtl, getMaxSessionTtl, getResourceUris
-
Method Details
-
isFailOnAddressMismatch
default boolean isFailOnAddressMismatch()Gets whether to fail on address mismatch or not, true if required, false if not- Returns:
- failed on address mismatch
-
getAuthenticatedSessionTimeout
Gets the maximum length of time to allow an authenticated session to be remain active before requesting the provide re-establish credentials for the principal.- Returns:
Duration, will be truncated to second
-
getMetadataTtl
Gets the maximum time interval to re-established metadata resolver typically measured in seconds. Once this interval is passed, metadata resolver will be re-established using metadata URIs.- Returns:
- metadaaTtl
Duration
-
getAllowedRange
Gets allowed list of IP addresses to validate against SAML response- Returns:
- allowed ranged of IP addresses
-
getMetadataUris
Gets the SAML metadataURIto retrieve configure metadata file that is configured directly into the SAML provider by administrator- Returns:
- metadata URL
-
getAcsUris
Gets the list of assertion ConsumerURI- Returns:
- allowed list of assertion consumer
URI
-
getServiceProviderEntityId
String getServiceProviderEntityId()Gets the Service Provider registered Entity ID.- Returns:
- SP Entity ID
-
getIdentityProviderEntityIds
Gets an ordered set of registered Identity Provider Entity IDs.The first entry in the set is the primary IDP for redirecting the user agent to for initiating sign-in
- Returns:
- IDP Entity ID
-
getIdentity
IuPrivateKeyPrincipal getIdentity()Gets the SAML Service Provider identity keys.- Returns:
- SAML SP identity keys
-
getPrincipalNameAttribute
Gets the name of the SAML Assertion Attribute that contains the principal name.At least one assertion must include this attribute value.
- Returns:
- principal name attribute
-