Package com.sun.xml.ws.security.secconv
Class WSSCClientContract
java.lang.Object
com.sun.xml.ws.security.secconv.WSSCClientContract
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanContains ChallengecreateRSTRForClientInitiatedIssuedTokenContext(AppliesTo scopes, IssuedTokenContext context) Create an RSTR for a client initiated IssuedTokenContext establishment, for example a Client Initiated WS-SecureConversation context.Return the <wst:ComputedKey> URI if any inside the RSTR, null otherwisevoidhandleRSTR(RequestSecurityToken rst, RequestSecurityTokenResponse rstr, IssuedTokenContext context) Handle an RSTR returned by the Issuer and update Token information into the IssuedTokenContext.voidhandleRSTRC(RequestSecurityToken rst, RequestSecurityTokenResponseCollection rstrc, IssuedTokenContext context) Handle an RSTRC returned by the Issuer and update Token information into the IssuedTokenContext.handleRSTRForNegotiatedExchange(RequestSecurityToken rst, RequestSecurityTokenResponse rstr, IssuedTokenContext context) Handle an RSTR returned by the Issuer and Respond to the Challenge
-
Constructor Details
-
WSSCClientContract
public WSSCClientContract()
-
-
Method Details
-
handleRSTR
public void handleRSTR(RequestSecurityToken rst, RequestSecurityTokenResponse rstr, IssuedTokenContext context) throws WSSecureConversationException Handle an RSTR returned by the Issuer and update Token information into the IssuedTokenContext.- Throws:
WSSecureConversationException
-
handleRSTRC
public void handleRSTRC(RequestSecurityToken rst, RequestSecurityTokenResponseCollection rstrc, IssuedTokenContext context) throws WSSecureConversationException Handle an RSTRC returned by the Issuer and update Token information into the IssuedTokenContext.- Throws:
WSSecureConversationException
-
handleRSTRForNegotiatedExchange
public RequestSecurityTokenResponse handleRSTRForNegotiatedExchange(RequestSecurityToken rst, RequestSecurityTokenResponse rstr, IssuedTokenContext context) Handle an RSTR returned by the Issuer and Respond to the Challenge -
createRSTRForClientInitiatedIssuedTokenContext
public RequestSecurityTokenResponse createRSTRForClientInitiatedIssuedTokenContext(AppliesTo scopes, IssuedTokenContext context) throws WSSecureConversationException Create an RSTR for a client initiated IssuedTokenContext establishment, for example a Client Initiated WS-SecureConversation context.- Throws:
WSSecureConversationException
-
containsChallenge
Contains Challenge- Returns:
- true if the RSTR contains a SignChallenge/BinaryExchange or some other custom challenge recognized by this implementation.
-
getComputedKeyAlgorithmFromProofToken
Return the <wst:ComputedKey> URI if any inside the RSTR, null otherwise
-