[jboss-jira] [JBoss JIRA] Commented: (JBID-202) STSClientConfig: Add parse method to populate the builder to allow properties overrides
Anil Saldhana (JIRA)
jira-events at lists.jboss.org
Wed Oct 21 10:46:05 EDT 2009
[ https://jira.jboss.org/jira/browse/JBID-202?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12490725#action_12490725 ]
Anil Saldhana commented on JBID-202:
------------------------------------
There seems to be a TODO in: http://anonsvn.jboss.org/repos/labs/labs/jbossesb/trunk/product/rosetta/src/org/jboss/soa/esb/services/security/auth/login/JBossSTSLoginModule.java
> 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
More information about the jboss-jira
mailing list