The only way I can see to do this is to override the loadSamlIssuer method
of SAMLTokenSignedAction in WSS4J:

http://svn.apache.org/viewvc/webservices/wss4j/branches/1_6_x-fixes/src/main/java/org/apache/ws/security/action/SAMLTokenSignedAction.java?view=markup

You can then configure this custom action class via the WSS4J_ACTION_MAP
property of the WSS4JOutInterceptor.

However, I agree that you should be able to set a reference to the
properties file as you can for the crypto properties file. Could you log a
JIRA here?

https://issues.apache.org/jira/browse/WSS

Colm.


On Fri, Jan 4, 2013 at 4:42 PM, kongar <[email protected]> wrote:

> Hello all,
>
> Is there a way to configure the SAML properties of a WSS4JOutInterceptor
> without adding the saml.properties in the classpath?  Specifying an
> absolute
> file path for the SAML_PROP_FILE property doesn't seem to work, and there's
> no corresponding REF_ID where I can pass in a Properties object.  Right
> now,
> it seems like we have to include that file in our ear for it to be picked
> up, but unfortunately, it has properties that we would like to be exposed
> to
> the user to modify such the issuer name and password.
>
> Any suggestions?
>
>
>
> --
> View this message in context:
> http://cxf.547215.n5.nabble.com/WSS4JOutInterceptor-SAML-configuration-tp5721000.html
> Sent from the cxf-user mailing list archive at Nabble.com.
>



-- 
Colm O hEigeartaigh

Talend Community Coder
http://coders.talend.com

Reply via email to