[jboss-dev-forums] [JBoss Identity Development] - AppliesTo support for STSClient (previously WSTrustClient)

beve do-not-reply at jboss.com
Sun Sep 27 04:47:18 EDT 2009


Hi guys, 

I noticed that there is server-side support for the AppliesTo element but I could not find this in the client. Is this intentional?

For the STSClient you only have the ability to specify a tokenType and it might be nice to have both options?
Perhaps there could be somethings like this:
public Element issueTokenForEndpoint(final String endpointURI) throws WSTrustException
  | {
  |     RequestSecurityToken request = new RequestSecurityToken();
  |     request.setAppliesTo(WSTrustUtil.createAppliesTo(endpointURI));
  |     return issueToken(request);
  | }

What do you think? Can I add this?

Thanks,

/Daniel
 



View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4257198#4257198

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4257198



More information about the jboss-dev-forums mailing list