FileDocCategorySizeDatePackage
WSTrustClientContract.javaAPI DocExample3992Tue May 29 16:56:54 BST 2007com.sun.xml.ws.security.trust

WSTrustClientContract

public interface WSTrustClientContract
The Contract to be used by the Trust-Plugin on the Client Side. TODO: Need to refine this....
author
root

Fields Summary
Constructors Summary
Methods Summary
public booleancontainsChallenge(com.sun.xml.ws.security.trust.elements.RequestSecurityTokenResponse rstr)
Contains Challenge

return
true if the RSTR contains a SignChallenge/BinaryExchange or some other custom challenge recognized by this implementation.

public com.sun.xml.ws.security.trust.elements.RequestSecurityTokenResponsecreateRSTRForClientInitiatedIssuedTokenContext(com.sun.xml.ws.policy.impl.bindings.AppliesTo scopes, com.sun.xml.ws.security.IssuedTokenContext context)
Create an RSTR for a client initiated IssuedTokenContext establishment, for example a Client Initiated WS-SecureConversation context.

public java.net.URIgetComputedKeyAlgorithmFromProofToken(com.sun.xml.ws.security.trust.elements.RequestSecurityTokenResponse rstr)
Return the <wst:ComputedKey> URI if any inside the RSTR, null otherwise

public voidhandleRSTR(com.sun.xml.ws.security.trust.elements.RequestSecurityToken rst, com.sun.xml.ws.security.trust.elements.RequestSecurityTokenResponse rstr, com.sun.xml.ws.security.IssuedTokenContext context)
Handle an RSTR returned by the Issuer and update Token information into the IssuedTokenContext.

public com.sun.xml.ws.security.trust.elements.RequestSecurityTokenResponsehandleRSTRForNegotiatedExchange(com.sun.xml.ws.security.trust.elements.RequestSecurityToken rst, com.sun.xml.ws.security.trust.elements.RequestSecurityTokenResponse rstr, com.sun.xml.ws.security.IssuedTokenContext context)
Handle an RSTR returned by the Issuer and Respond to the Challenge