private void populateContextFromTokenId(String tokenId) { try { SSOToken token = SSOTokenManager.getInstance().createSSOToken(tokenId); AuditRequestContext.putProperty(USER_ID, getUserId(token)); AuditRequestContext.putProperty(SESSION.toString(), getContextFromSSOToken(token)); } catch (SSOException e) { debug.warning("No SSO Token found when trying to audit an authentication request."); } }