public static class SecuritySamlConfig.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
SecuritySamlConfig.Builder |
adminBackendRole(String adminBackendRole)
The backend role of admins who have all permissions like local master user
|
SecuritySamlConfig |
build() |
SecuritySamlConfig.Builder |
copy(SecuritySamlConfig model) |
SecuritySamlConfig.Builder |
idpEntityId(String idpEntityId)
The unique name for a identity provider entity
|
SecuritySamlConfig.Builder |
idpMetadataContent(String idpMetadataContent)
The content of identity provider metadata
|
SecuritySamlConfig.Builder |
isEnabled(Boolean isEnabled)
A flag determine whether SAML is enabled
|
SecuritySamlConfig.Builder |
opendashboardUrl(String opendashboardUrl)
The endpoint of opendashboard
|
SecuritySamlConfig.Builder |
rolesKey(String rolesKey)
The roles key is sued to get backend roles from SAML assertion
|
SecuritySamlConfig.Builder |
subjectKey(String subjectKey)
The subject key is used to get username from SAML assertion.
|
public SecuritySamlConfig.Builder isEnabled(Boolean isEnabled)
A flag determine whether SAML is enabled
isEnabled
- the value to setpublic SecuritySamlConfig.Builder idpMetadataContent(String idpMetadataContent)
The content of identity provider metadata
idpMetadataContent
- the value to setpublic SecuritySamlConfig.Builder idpEntityId(String idpEntityId)
The unique name for a identity provider entity
idpEntityId
- the value to setpublic SecuritySamlConfig.Builder opendashboardUrl(String opendashboardUrl)
The endpoint of opendashboard
opendashboardUrl
- the value to setpublic SecuritySamlConfig.Builder adminBackendRole(String adminBackendRole)
The backend role of admins who have all permissions like local master user
adminBackendRole
- the value to setpublic SecuritySamlConfig.Builder subjectKey(String subjectKey)
The subject key is used to get username from SAML assertion. By default, it is NameID
subjectKey
- the value to setpublic SecuritySamlConfig.Builder rolesKey(String rolesKey)
The roles key is sued to get backend roles from SAML assertion
rolesKey
- the value to setpublic SecuritySamlConfig build()
public SecuritySamlConfig.Builder copy(SecuritySamlConfig model)
Copyright © 2016–2025. All rights reserved.