[JBoss JIRA] Created: (JBID-202) STSClientConfig: Add parse method to populate the builder to allow properties overrides
by Daniel Bevenius (JIRA)
STSClientConfig: Add parse method to populate the builder to allow properties overrides
---------------------------------------------------------------------------------------
Key: JBID-202
URL: https://jira.jboss.org/jira/browse/JBID-202
Project: JBoss Identity
Issue Type: Task
Components: Identity-Federation
Reporter: Daniel Bevenius
Assignee: Daniel Bevenius
Priority: Minor
Fix For: IDFED-1.0.0.beta3
Add a parse method that parses a sts client configuration file (properties file) and returns a the builder instance.
This will allow for overrides. The use case I have for this is a password in the configuration that may be a path to an encrypted password file. Having this method would allow a client to first parse the configuration file and modify a property before creating the STSConfigClient instance
For example:
Builder builder = new STSClientConfig.Builder("wstrust/sts-client.properties");
builder.password(overriddenPassword);
STSClientConfig config = builder.build();
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira