I have a jsr181-su which hosts a web service. This web service is a pojo
class that has following setter:
public void setContext(ComponentContext context)
{
this.context = context;
}
WS access is authorized by WS-Security mechanism (usernametoken).
One of the step within WS operation is to send a message to a JMS component.
Since I have the context I can create new MessageExchange and send it to the
bus. However, in order to reach JMS component I need securitySubject
(required by SecuredBroker).
How can I get securitySubject in this case? Or maybe there is some better
way to send a message within a pojo (and having securitySubject to be
propagated transparently)?
tx,
Michal
--
View this message in context:
http://www.nabble.com/Jsr181---how-to-obtain-security-subject-in-pojo-class--tf4142998s12049.html#a11785299
Sent from the ServiceMix - User mailing list archive at Nabble.com.