Class SamlProperties
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<SamlProperties.Builder,
SamlProperties>
Describes the enablement status, user access URL, and relay state parameter name that are used for configuring federation with an SAML 2.0 identity provider.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic SamlProperties.Builder
builder()
final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final int
hashCode()
final String
The relay state parameter name supported by the SAML 2.0 identity provider (IdP).static Class
<? extends SamlProperties.Builder> final SamlStatusEnum
status()
Indicates the status of SAML 2.0 authentication.final String
Indicates the status of SAML 2.0 authentication.Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.final String
The SAML 2.0 identity provider (IdP) user access URL is the URL a user would navigate to in their web browser in order to federate from the IdP and directly access the application, without any SAML 2.0 service provider (SP) bindings.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
status
Indicates the status of SAML 2.0 authentication. These statuses include the following.
-
If the setting is
DISABLED
, end users will be directed to login with their directory credentials. -
If the setting is
ENABLED
, end users will be directed to login via the user access URL. Users attempting to connect to WorkSpaces from a client application that does not support SAML 2.0 authentication will not be able to connect. -
If the setting is
ENABLED_WITH_DIRECTORY_LOGIN_FALLBACK
, end users will be directed to login via the user access URL on supported client applications, but will not prevent clients that do not support SAML 2.0 authentication from connecting as if SAML 2.0 authentication was disabled.
If the service returns an enum value that is not available in the current SDK version,
status
will returnSamlStatusEnum.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromstatusAsString()
.- Returns:
- Indicates the status of SAML 2.0 authentication. These statuses include the following.
-
If the setting is
DISABLED
, end users will be directed to login with their directory credentials. -
If the setting is
ENABLED
, end users will be directed to login via the user access URL. Users attempting to connect to WorkSpaces from a client application that does not support SAML 2.0 authentication will not be able to connect. -
If the setting is
ENABLED_WITH_DIRECTORY_LOGIN_FALLBACK
, end users will be directed to login via the user access URL on supported client applications, but will not prevent clients that do not support SAML 2.0 authentication from connecting as if SAML 2.0 authentication was disabled.
-
- See Also:
-
-
statusAsString
Indicates the status of SAML 2.0 authentication. These statuses include the following.
-
If the setting is
DISABLED
, end users will be directed to login with their directory credentials. -
If the setting is
ENABLED
, end users will be directed to login via the user access URL. Users attempting to connect to WorkSpaces from a client application that does not support SAML 2.0 authentication will not be able to connect. -
If the setting is
ENABLED_WITH_DIRECTORY_LOGIN_FALLBACK
, end users will be directed to login via the user access URL on supported client applications, but will not prevent clients that do not support SAML 2.0 authentication from connecting as if SAML 2.0 authentication was disabled.
If the service returns an enum value that is not available in the current SDK version,
status
will returnSamlStatusEnum.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromstatusAsString()
.- Returns:
- Indicates the status of SAML 2.0 authentication. These statuses include the following.
-
If the setting is
DISABLED
, end users will be directed to login with their directory credentials. -
If the setting is
ENABLED
, end users will be directed to login via the user access URL. Users attempting to connect to WorkSpaces from a client application that does not support SAML 2.0 authentication will not be able to connect. -
If the setting is
ENABLED_WITH_DIRECTORY_LOGIN_FALLBACK
, end users will be directed to login via the user access URL on supported client applications, but will not prevent clients that do not support SAML 2.0 authentication from connecting as if SAML 2.0 authentication was disabled.
-
- See Also:
-
-
userAccessUrl
The SAML 2.0 identity provider (IdP) user access URL is the URL a user would navigate to in their web browser in order to federate from the IdP and directly access the application, without any SAML 2.0 service provider (SP) bindings.
- Returns:
- The SAML 2.0 identity provider (IdP) user access URL is the URL a user would navigate to in their web browser in order to federate from the IdP and directly access the application, without any SAML 2.0 service provider (SP) bindings.
-
relayStateParameterName
The relay state parameter name supported by the SAML 2.0 identity provider (IdP). When the end user is redirected to the user access URL from the WorkSpaces client application, this relay state parameter name is appended as a query parameter to the URL along with the relay state endpoint to return the user to the client application session.
To use SAML 2.0 authentication with WorkSpaces, the IdP must support IdP-initiated deep linking for the relay state URL. Consult your IdP documentation for more information.
- Returns:
- The relay state parameter name supported by the SAML 2.0 identity provider (IdP). When the end user is
redirected to the user access URL from the WorkSpaces client application, this relay state parameter name
is appended as a query parameter to the URL along with the relay state endpoint to return the user to the
client application session.
To use SAML 2.0 authentication with WorkSpaces, the IdP must support IdP-initiated deep linking for the relay state URL. Consult your IdP documentation for more information.
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<SamlProperties.Builder,
SamlProperties> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
-
sdkFields
-