token = (Element)vt.getAny();
}
context.setTarget(new GenericToken(token));
// Get STSTokenProvider and validate the token
STSTokenProvider tokenProvider = WSTrustFactory.getSTSTokenProvider();
tokenProvider.isValideToken(context);
// Create RequestedSecurityToken
RequestedSecurityToken reqSecTok = null;
if (!wstVer.getValidateStatuesTokenType().equals(tokenType.toString())){
reqSecTok = eleFac.createRequestedSecurityToken();