Package swiss.trustbroker.config.dto
Class IdmConfig.IdmConfigBuilder
java.lang.Object
swiss.trustbroker.config.dto.IdmConfig.IdmConfigBuilder
- Enclosing class:
IdmConfig
-
Method Summary
Modifier and TypeMethodDescriptionattributes(Map<String, Object> attributes) Custom attributes that might be needed by the implementation.build()enabled(boolean enabled) IDM enabled.endpointUrl(String endpointUrl) Endpoint URL of the IDMkeystore(swiss.trustbroker.common.config.KeystoreProperties keystore) Keystore for accessing the IDM.Mappings that might be needed by the implementation.Security token for accessing the IDM.signercert(swiss.trustbroker.common.config.KeystoreProperties signercert) Security token signer.techuser(TechUserProperties techuser) Technical user for accessing the IDM.tlsProtocol(String tlsProtocol) TLS protocol to use for the connection.toString()traceIdHeader(String traceIdHeader) HTTP trace header supported by service to correlate calls from XTB.truststore(swiss.trustbroker.common.config.KeystoreProperties truststore) Truststore for accessing the IDM.
-
Method Details
-
enabled
IDM enabled.
Default: true (but there is no default IDM service implementation)- Returns:
this.
-
endpointUrl
Endpoint URL of the IDM- Returns:
this.
-
tlsProtocol
TLS protocol to use for the connection.- Returns:
this.
-
keystore
public IdmConfig.IdmConfigBuilder keystore(swiss.trustbroker.common.config.KeystoreProperties keystore) Keystore for accessing the IDM.- Returns:
this.
-
truststore
public IdmConfig.IdmConfigBuilder truststore(swiss.trustbroker.common.config.KeystoreProperties truststore) Truststore for accessing the IDM.- Returns:
this.
-
techuser
Technical user for accessing the IDM.- Returns:
this.
-
signercert
public IdmConfig.IdmConfigBuilder signercert(swiss.trustbroker.common.config.KeystoreProperties signercert) Security token signer.- Returns:
this.
-
secToken
Security token for accessing the IDM.- Returns:
this.
-
mappings
public IdmConfig.IdmConfigBuilder mappings(List<swiss.trustbroker.common.config.RegexNameValue> mappings) Mappings that might be needed by the implementation.- Returns:
this.
-
attributes
Custom attributes that might be needed by the implementation.- Returns:
this.
-
traceIdHeader
HTTP trace header supported by service to correlate calls from XTB.- Returns:
this.
-
build
-
toString
-