Element elemRequestType=(Element)WSSecurityUtil.findElement(req,RequestType.TOKEN.getLocalPart(),RequestType.TOKEN.getNamespaceURI());
RequestType requestType=new RequestType(elemRequestType);
Element elemBase=(Element)WSSecurityUtil.findElement(req,BaseToken.TOKEN.getLocalPart(),BaseToken.TOKEN.getNamespaceURI());
BaseToken base=new BaseToken(elemBase);
BinarySecurity binarySecurity=STSUtil.findBinarySecurityToken(req);
//x509=new X509Security(binarySecurity.getElement());
Element sct=this.getSecuritContextToken(res,x509);