Package com.sun.xml.ws.security.trust
Interface WSTrustClientContract
-
- All Known Implementing Classes:
WSTrustClientContractImpl
public interface WSTrustClientContractThe Contract to be used by the Trust-Plugin on the Client Side. TODO: Need to refine this....- Author:
- root
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleancontainsChallenge(RequestSecurityTokenResponse rstr)Contains ChallengeBaseSTSResponsecreateRSTRForClientInitiatedIssuedTokenContext(AppliesTo scopes, IssuedTokenContext context)Create an RSTR for a client initiated IssuedTokenContext establishment, for example a Client Initiated WS-SecureConversation context.URIgetComputedKeyAlgorithmFromProofToken(RequestSecurityTokenResponse rstr)Return the <wst:ComputedKey> URI if any inside the RSTR, null otherwisevoidhandleRSTR(BaseSTSRequest request, BaseSTSResponse response, IssuedTokenContext context)Handle an RSTR returned by the Issuer and update Token information into the IssuedTokenContext.BaseSTSResponsehandleRSTRForNegotiatedExchange(BaseSTSRequest rst, BaseSTSResponse rstr, IssuedTokenContext context)Handle an RSTR returned by the Issuer and Respond to the Challenge
-
-
-
Method Detail
-
handleRSTR
void handleRSTR(BaseSTSRequest request, BaseSTSResponse response, IssuedTokenContext context) throws WSTrustException
Handle an RSTR returned by the Issuer and update Token information into the IssuedTokenContext.- Throws:
WSTrustException
-
handleRSTRForNegotiatedExchange
BaseSTSResponse handleRSTRForNegotiatedExchange(BaseSTSRequest rst, BaseSTSResponse rstr, IssuedTokenContext context) throws WSTrustException
Handle an RSTR returned by the Issuer and Respond to the Challenge- Throws:
WSTrustException
-
createRSTRForClientInitiatedIssuedTokenContext
BaseSTSResponse createRSTRForClientInitiatedIssuedTokenContext(AppliesTo scopes, IssuedTokenContext context) throws WSTrustException
Create an RSTR for a client initiated IssuedTokenContext establishment, for example a Client Initiated WS-SecureConversation context.- Throws:
WSTrustException
-
containsChallenge
boolean containsChallenge(RequestSecurityTokenResponse rstr)
Contains Challenge- Returns:
- true if the RSTR contains a SignChallenge/BinaryExchange or some other custom challenge recognized by this implementation.
-
getComputedKeyAlgorithmFromProofToken
URI getComputedKeyAlgorithmFromProofToken(RequestSecurityTokenResponse rstr)
Return the <wst:ComputedKey> URI if any inside the RSTR, null otherwise
-
-