Hi,
"org.apache.cxf.transport.http.AbstractHTTPDestination$2@16f3ed7*" is a
reference on anonymous class created in AbstractHTTPDestination:
...
inMessage.put(SecurityContext.class, new SecurityContext() {
public Principal getUserPrincipal() {
return req.getUserPrincipal();
}
public boolean isUserInRole(String role) {
return req.isUserInRole(role);
}
});
...
You can work with this object using org.apache.cxf.security.SecurityContext
interface.
Regards,
Andrei.
> -----Original Message-----
> From: Faz [mailto:[email protected]]
> Sent: Freitag, 8. November 2013 16:54
> To: [email protected]
> Subject: Re: SecurityContext AND Principal Object
>
> Thanks for the response Colm.
>
> Bit confused with the 1 piece of response, could you please shed some light
> on '*SecurityContext Object created in AbstractHTTPDestination. *' ?
> So is there any useful info that I can extract out of above object??? If so
> how
> can be access them?
>
> I was successful in retrieving the principal object when using WS-security in
> wsdl, but wasn't yet successful in retrieving it with- ws-security policy..
> Could
> you please help me out with this stmt :'*the transport code if client
> authentication*'?
>
> Thanks again!
>
>
>
>
> --
> View this message in context:
> http://cxf.547215.n5.nabble.com/SecurityContext-AND-Principal-Object-
> tp5736103p5736153.html
> Sent from the cxf-user mailing list archive at Nabble.com.