requestTypeRes.setValue(requestType.getValue());
//It is RECOMMENDED that the issuer return this element with issued tokens so the
//requestor knows the actual validity period without having to parse the
//returned token.
Lifetime lt=new Lifetime(res,this.getLifeTime());
// Element elemLifeTime = lt.getElement();
//
// //append to req'ed token
//// requestedSecurityToken.addToken(tokenTypeRes.getElement());
//// requestedSecurityToken.addToken(requestTypeRes.getElement());