Lines Matching refs:sess

601         InternalSession sess = cache.getBySessionID(token);
602 if (sess == null) {
603 sess = resolveRestrictedToken(token, true);
605 if (sess == null) {
608 return sess;
674 for (InternalSession sess : allValidSessions) {
678 String clientID = (!sess.isAppSession()) ?
679 DNUtils.DNtoName(sess.getClientID()) :
680 sess.getClientID();
697 sessions.add(sess);
769 InternalSession sess = removeInternalSession(sid);
770 if (sess != null) {
771 sess.setIsISStored(false);
773 if (sess != null && sess.getState() != INVALID) {
774 signalRemove(sess, SessionEvent.DESTROY);
775 sessionAuditor.auditActivity(sess.toSessionInfo(), AM_SESSION_DESTROYED);
786 InternalSession sess = removeInternalSession(sid);
787 if (sess != null) {
788 sess.setIsISStored(false);
790 if (sess != null && sess.getState() != INVALID) {
791 signalRemove(sess, SessionEvent.LOGOUT);
792 sessionAuditor.auditActivity(sess.toSessionInfo(), AM_SESSION_LOGGED_OUT);
840 InternalSession sess = resolveToken(sid);
841 SessionInfo info = sessionInfoFactory.getSessionInfo(sess, sid);
843 sess.setLatestAccessTime();
877 for (InternalSession sess : sessions) {
878 if (isTopLevelAdmin || orgList.contains(sess.getClientDomain())) {
879 SessionInfo info = sess.toSessionInfo();
882 info.setSessionID(sess.getSessionHandle());
905 InternalSession sess = getInternalSession(sid);
907 if (sess == null) {
909 sess = getInternalSessionByHandle(sid.toString());
912 if (sess != null) {
913 sid = sess.getID();
1510 InternalSession sess = null;
1518 return sess;
1525 sess = tokenAdapter.fromToken(token);
1526 sess.setSessionServiceDependencies(
1528 sess.scheduleExpiry();
1529 updateSessionMaps(sess);
1548 sess = cache.getBySessionID(sid);
1549 if (sess == null) {
1550 sess = resolveRestrictedToken(sid, false);
1561 return sess;
1581 InternalSession sess = decrypt(sessionState);
1583 if (sess == null || (sess.getRestrictionForToken(sid) == null && !sess.getID().equals(sid))) {
1602 if (!releaseSession(formerOwner, sess.getID())) {
1611 sess.setHttpSession(httpSession);
1612 updateSessionMaps(sess);
1613 return sess;
1624 * @param sess session object
1626 private void updateSessionMaps(InternalSession sess) {
1627 if (sess == null)
1630 if (checkIfShouldDestroy(sess))
1633 sess.putProperty(sessionCookies.getLBCookieName(), serverConfig.getLBCookieValue());
1635 SessionID sid = sess.getID();
1641 cache.put(sess);
1670 * if so Note that contrary to the name sess.shouldDestroy() has non-trivial
1673 * @param sess session object
1676 boolean checkIfShouldDestroy(InternalSession sess) {
1679 shouldDestroy = sess.shouldDestroy();
1687 removeInternalSession(sess.getID());