private SingularSessionManager initSessionManager(HttpSessionState session) { SingularSessionManager returnValue = (SingularSessionManager)session["dossia.openid.sessionManager"]; if (returnValue == null) { returnValue = new SingularSessionManager(); session["dossia.openid.sessionManager"] = returnValue; } return returnValue; }
public DossiaOpenID(HttpApplicationState application, HttpSessionState session) { associationManager = initAssociationManager(application); sessionManager = initSessionManager(session); }