Cancels the token contained in the specified request context. A security token is usually canceled when one wants to make sure that the token will not be used anymore. A security token can't be renewed once it has been canceled.
@param context the {@code ProtocolContext} that contains the token to be canceled. @throws WSTrustException if an error occurs while canceling the security token.Cancels the token contained in the specified request context. A security token is usually canceled when one wants to make sure that the token will not be used anymore. A security token can't be renewed once it has been canceled.
@param protocolContext the {@code ProtocolContext} that contains the token to be canceled. @throws ProcessingException if an error occurs while canceling the security token. @throws {@link SecurityException} if the caller does not have a runtime permission for "org.picketlink.sts"Cancels the specified security token by sending a WS-Trust cancel message to the STS.
@param securityToken the security token to be canceled. @return {@code true} if the token has been canceled by the STS; {@code false} otherwise. @throws WSTrustException if an error occurs while processing the cancel request.
|
|
|
|