One problem leads to another....

I'm registering my service (that uses SamlHeaderInHandler for authentication
of SAML tokens in the HTTP authenticate header) using DOSGI. I've included
the following attributes:

serviceProps.put("ws-security.signature.properties",
"alice/alice.properties");
serviceProps.put("org.apache.cxf.rs.provider",
"org.apache.cxf.rs.security.saml.SamlHeaderInHandler");

The SamlHeaderInHandler seems to be working fine. However, in code once I
get to line 54 of org.apache.cxf.rs.security.common.CryptoLoader

        Object o = message.getContextualProperty(propKey);

(where propKey is "ws-security.signature.properties") the result is null.
The "ws-security.signature.properties" property is not in the message
contextual properties. This will probably take me at least day to figure out
stepping through code so I hope someone can point out what I might be doing
that is wrong.

Regards,

D



--
View this message in context: 
http://cxf.547215.n5.nabble.com/SAML-authentication-in-OSGI-continued-tp5723161.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to