« Return to Thread: OnBehalfOf in RST

Re: OnBehalfOf in RST

by metro-3 :: Rate this Message:

Reply to Author | View in Thread

Yes.

You can use STSIssuedTokenFeature with STSIssuedTokenConfiguration
to inject OnBehalfOf token:

STSIssuedTokenConfiguration config = new DefaultSTSIssuedTokenConfiguration();
Element oboEle = ...
Token oboToken = new GenericToken(oboEle);
((DefaultSTSIssuedTokenConfiguration)config).setOBOToken(oboToken);
STSIssuedTokenFeature feature = new STSIssuedTokenFeature(config);
                org.me.calculator.client.CalculatorWS port = service.getCalculatorWSPort(new WebServiceFeature[]{feature});


Thanks!

Jiandong
[Message sent by forum member 'jdg6688' (jdg6688)]

http://forums.java.net/jive/thread.jspa?messageID=354518

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...

 « Return to Thread: OnBehalfOf in RST