[jboss-jira] [JBoss JIRA] Closed: (JBID-202) STSClientConfig: Add parse method to populate the builder to allow properties overrides

Daniel Bevenius (JIRA) jira-events at lists.jboss.org
Tue Oct 13 04:25:05 EDT 2009


     [ https://jira.jboss.org/jira/browse/JBID-202?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Bevenius closed JBID-202.
--------------------------------

    Resolution: Done


Committed revision 855.


> 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