Thanks Daniel, it seems that it helped. One small change ... Endpoint has no getProperty() only get(). Final workaround: Endpoint ep = ClientProxy.getClient(scbPort).getEndpoint(); EndpointInfo ei = ep.getEndpointInfo(); TokenStore ts = (TokenStore) ei.getProperty(TokenStore.class.getName()); String tokenId = (String)ep.get(SecurityConstants.TOKEN_ID); ts.getToken(tokenId).setState(SecurityToken.State.CANCELLED); ep.remove(SecurityConstants.TOKEN_ID);
Martin -- View this message in context: http://cxf.547215.n5.nabble.com/The-security-context-token-is-expired-or-is-not-valid-ERROR-tp5076527p5136548.html Sent from the cxf-user mailing list archive at Nabble.com.
