private SSOToken getToken()
{
try {
HttpServletRequest request = (HttpServletRequest) PolicyContext.getContext(WEB_REQUEST_KEY);
SSOTokenManager manager = SSOTokenManager.getInstance();
SSOToken token = manager.createSSOToken(request);
return token;
} catch (Exception e) {
log.debug("Failed to obtain SSO Token: " + e);