@Generated(value="org.immutables.processor.ProxyProcessor") public final class SamlConfiguration extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
SamlConfiguration.Builder
Builds instances of type
SamlConfiguration. |
| Modifier and Type | Method and Description |
|---|---|
static SamlConfiguration.Builder |
builder()
Creates a builder for
SamlConfiguration. |
boolean |
equals(Object another)
This instance is equal to all instances of
SamlConfiguration that have equal attribute values. |
Boolean |
getAddShadowUserOnLogin()
Determines whether or not shadow users must be created before login by an administrator.
|
Integer |
getAssertionConsumerIndex()
SAML assertion consumer index, default is 0
|
AttributeMappings |
getAttributeMappings() |
List<String> |
getAuthnContext()
A list of AuthnContextClassRef to include in the SAML request
|
List<String> |
getEmailDomains()
List of email domains associated with the provider for the purpose of associating users to the correct origin upon invitation.
|
List<String> |
getExternalGroupsWhitelist()
The external group white list
|
ExternalGroupMappingMode |
getGroupMappingMode()
Either EXPLICITLY_MAPPED in order to map external groups to OAuth scopes using the group mappings, or AS_SCOPES to use SAML group names as scopes.
|
String |
getIconUrl()
Reserved for future use
|
String |
getIdpEntityAlias()
This will be set to origin by system
|
String |
getLinkText()
The link text for the SAML IDP on the login page
|
String |
getMetaDataLocation()
SAML Metadata - either an XML string or a URL that will deliver XML content
|
Boolean |
getMetadataTrustCheck()
Should metadata be validated, defaults to false
|
String |
getNameId()
The name ID to use for the username, default is “urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified”.
|
String |
getProviderDescription()
Human readable name/description of this provider
|
Boolean |
getShowSamlLink()
Should the SAML login link be displayed on the login page, defaults to false
|
Boolean |
getSkipSslValidation()
Whether to skip SSL validation
|
String |
getSocketFactoryClassName()
Either "org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory" or"org.apache.commons.httpclient.contrib.ssl.EasySSLProtocolSocketFactory" depending on if the metaDataLocation of
type URL is HTTP or HTTPS, respectively
|
Boolean |
getStoreCustomAttributes()
Set to true, to store custom user attributes to be fetched from the /userinfo endpoint
|
String |
getZoneId()
This will be set to the ID of the zone where the provider is being created by system
|
int |
hashCode()
Computes a hash code from attributes:
emailDomains, providerDescription, attributeMappings, externalGroupsWhitelist, storeCustomAttributes, addShadowUserOnLogin, assertionConsumerIndex, authnContext, groupMappingMode, iconUrl, idpEntityAlias, linkText, metaDataLocation, metadataTrustCheck, nameId, showSamlLink, skipSslValidation, socketFactoryClassName, zoneId. |
String |
toString()
Prints the immutable value
SamlConfiguration with attribute values. |
public List<String> getEmailDomains()
public String getProviderDescription()
public AttributeMappings getAttributeMappings()
attributeMappings attributepublic List<String> getExternalGroupsWhitelist()
public Boolean getStoreCustomAttributes()
public Boolean getAddShadowUserOnLogin()
public Integer getAssertionConsumerIndex()
public List<String> getAuthnContext()
public ExternalGroupMappingMode getGroupMappingMode()
public String getIconUrl()
public String getIdpEntityAlias()
public String getLinkText()
public String getMetaDataLocation()
public Boolean getMetadataTrustCheck()
public String getNameId()
public Boolean getShowSamlLink()
public Boolean getSkipSslValidation()
public String getSocketFactoryClassName()
public String getZoneId()
public boolean equals(Object another)
SamlConfiguration that have equal attribute values.public int hashCode()
emailDomains, providerDescription, attributeMappings, externalGroupsWhitelist, storeCustomAttributes, addShadowUserOnLogin, assertionConsumerIndex, authnContext, groupMappingMode, iconUrl, idpEntityAlias, linkText, metaDataLocation, metadataTrustCheck, nameId, showSamlLink, skipSslValidation, socketFactoryClassName, zoneId.public String toString()
SamlConfiguration with attribute values.public static SamlConfiguration.Builder builder()
SamlConfiguration.
SamlConfiguration.builder()
.emailDomains(List<String> | null) // nullable emailDomains
.providerDescription(String | null) // nullable providerDescription
.attributeMappings(org.cloudfoundry.uaa.identityproviders.AttributeMappings | null) // nullable attributeMappings
.externalGroupsWhitelist(List<String> | null) // nullable externalGroupsWhitelist
.storeCustomAttributes(Boolean | null) // nullable storeCustomAttributes
.addShadowUserOnLogin(Boolean | null) // nullable addShadowUserOnLogin
.assertionConsumerIndex(Integer | null) // nullable assertionConsumerIndex
.authnContext(List<String> | null) // nullable authnContext
.groupMappingMode(org.cloudfoundry.uaa.identityproviders.ExternalGroupMappingMode | null) // nullable groupMappingMode
.iconUrl(String | null) // nullable iconUrl
.idpEntityAlias(String | null) // nullable idpEntityAlias
.linkText(String | null) // nullable linkText
.metaDataLocation(String) // required metaDataLocation
.metadataTrustCheck(Boolean | null) // nullable metadataTrustCheck
.nameId(String | null) // nullable nameId
.showSamlLink(Boolean | null) // nullable showSamlLink
.skipSslValidation(Boolean | null) // nullable skipSslValidation
.socketFactoryClassName(String | null) // nullable socketFactoryClassName
.zoneId(String | null) // nullable zoneId
.build();
Copyright © 2020. All rights reserved.