If you just cast the Principal object to "WSUsernameTokenPrincipal", you can get access to all the details of the received UsernameToken:
http://svn.apache.org/viewvc/webservices/wss4j/branches/1_6_x-fixes/src/main/java/org/apache/ws/security/WSUsernameTokenPrincipal.java?view=markup Colm. On Wed, Sep 18, 2013 at 10:57 AM, Faz <[email protected]>wrote: > Hi , i'm trying to access the usernametoken from the message object, but > for > some reasons am getting it as null. Here's the code & log that I have, > > *Code Snippet* > > > *Log* > > > > > -- > View this message in context: > http://cxf.547215.n5.nabble.com/UserNameToken-is-Null-tp5734200.html > Sent from the cxf-user mailing list archive at Nabble.com. > -- Colm O hEigeartaigh Talend Community Coder http://coders.talend.com
