Class ScimConfig
java.lang.Object
com.ibm.security.access.scimclient.ScimConfig
Convenience class to generate ScimConfig maps to be used in JavaScript
mapping rules.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild
(String url, String user, String password, String truststore, String keystore, String keyalias, String protocol) Generates a ScimConfig object - which is actually just a HashMap invalid input: '<'String,String> so that we can easily serialize it later.static String
getBAPassword
(HashMap<String, String> config) static String
static String
getKeyalias
(HashMap<String, String> config) static String
getKeystore
(HashMap<String, String> config) static String
getProtocol
(HashMap<String, String> config) static String
getTruststore
(HashMap<String, String> config) static String
-
Field Details
-
HttpClient_java_sourceCodeID
- See Also:
-
HttpClient_java_copyright
- See Also:
-
-
Constructor Details
-
ScimConfig
public ScimConfig()
-
-
Method Details
-
build
public static HashMap<String,String> build(String url, String user, String password, String truststore, String keystore, String keyalias, String protocol) Generates a ScimConfig object - which is actually just a HashMap invalid input: '<'String,String> so that we can easily serialize it later. It is intended that this function is called from a JavaScript mapping rule. These arguments are used in calls to HttpClient. Apart from url, parameters can be null. This function performs no checking, any error will be exhibited at runtime when these values are subsequently passed to the HttpClient.- Parameters:
url
- The base URL (including protocol) where the SCIM API lives. For example, https://scim.ibm.com/api/v1user
- The basic authentication user. (Can be null if BA is not used)password
- The basic authentication password. (Can be null if BA is not used)truststore
- The truststore to use for SCIM API requests.keystore
- The keystore to use for SCIM API requests.keyalias
- The keyalias within keystore to use from SCIM API requests.protocol
- The SSL protocol to use.- Returns:
- A new ScimConfig HashMap.
-
getUrl
-
getTruststore
-
getKeystore
-
getKeyalias
-
getBAUser
-
getBAPassword
-
getProtocol
-