Class Saml2IdentityProvider
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.identity.model.IdentityProvider
-
- com.oracle.bmc.identity.model.Saml2IdentityProvider
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class Saml2IdentityProvider extends IdentityProvider
A special type ofIdentityProvider
that supports the SAML 2.0 protocol.For more information, see Identity Providers and Federation.
Note: Objects should always be created or deserialized using theSaml2IdentityProvider.Builder
. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of theSaml2IdentityProvider.Builder
, which maintain a set of all explicitly set fields calledSaml2IdentityProvider.Builder.__explicitlySet__
. ThehashCode()
andequals(Object)
methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Saml2IdentityProvider.Builder
-
Nested classes/interfaces inherited from class com.oracle.bmc.identity.model.IdentityProvider
IdentityProvider.LifecycleState
-
-
Constructor Summary
Constructors Constructor Description Saml2IdentityProvider(String id, String compartmentId, String name, String description, String productType, Date timeCreated, IdentityProvider.LifecycleState lifecycleState, Long inactiveStatus, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, String metadataUrl, String metadata, String signingCertificate, String redirectUrl, Map<String,String> freeformAttributes)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Saml2IdentityProvider.Builder
builder()
Create a new builder.boolean
equals(Object o)
Map<String,String>
getFreeformAttributes()
Extra name value pairs associated with this identity provider.String
getMetadata()
The XML that contains the information required for federating Identity with SAML2 Identity Provider.String
getMetadataUrl()
The URL for retrieving the identity provider’s metadata, which contains information required for federating.String
getRedirectUrl()
The URL to redirect federated users to for authentication with the identity provider.String
getSigningCertificate()
The identity provider’s signing certificate used by the IAM Service to validate the SAML2 token.int
hashCode()
Saml2IdentityProvider.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.-
Methods inherited from class com.oracle.bmc.identity.model.IdentityProvider
getCompartmentId, getDefinedTags, getDescription, getFreeformTags, getId, getInactiveStatus, getLifecycleState, getName, getProductType, getTimeCreated
-
-
-
-
Constructor Detail
-
Saml2IdentityProvider
@Deprecated public Saml2IdentityProvider(String id, String compartmentId, String name, String description, String productType, Date timeCreated, IdentityProvider.LifecycleState lifecycleState, Long inactiveStatus, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, String metadataUrl, String metadata, String signingCertificate, String redirectUrl, Map<String,String> freeformAttributes)
Deprecated.
-
-
Method Detail
-
builder
public static Saml2IdentityProvider.Builder builder()
Create a new builder.
-
toBuilder
public Saml2IdentityProvider.Builder toBuilder()
-
getMetadataUrl
public String getMetadataUrl()
The URL for retrieving the identity provider’s metadata, which contains information required for federating.- Returns:
- the value
-
getMetadata
public String getMetadata()
The XML that contains the information required for federating Identity with SAML2 Identity Provider.- Returns:
- the value
-
getSigningCertificate
public String getSigningCertificate()
The identity provider’s signing certificate used by the IAM Service to validate the SAML2 token.- Returns:
- the value
-
getRedirectUrl
public String getRedirectUrl()
The URL to redirect federated users to for authentication with the identity provider.- Returns:
- the value
-
getFreeformAttributes
public Map<String,String> getFreeformAttributes()
Extra name value pairs associated with this identity provider.Example: {“clientId”: “app_sf3kdjf3”}
- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in classIdentityProvider
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Overrides:
toString
in classIdentityProvider
- Parameters:
includeByteArrayContents
- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classIdentityProvider
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classIdentityProvider
-
-