/forgerock/openam-v13/openam-core/src/main/java/com/iplanet/dpro/session/service/cluster/ |
H A D | SingleServerClusterMonitor.java | 63 public String getCurrentHostServer(SessionID sid) { argument 64 return sid.getSessionServerID();
|
/forgerock/openam/openam-core/src/main/java/com/iplanet/dpro/session/service/cluster/ |
H A D | SingleServerClusterMonitor.java | 63 public String getCurrentHostServer(SessionID sid) { argument 64 return sid.getSessionServerID();
|
/forgerock/openam-v13/openam-core/src/main/java/com/iplanet/dpro/session/utils/ |
H A D | SessionInfoFactory.java | 62 * @param sid SessionID to check with the InternalSession. 69 public void validateSession(InternalSession internalSession, SessionID sid) argument 71 if (!sid.equals(internalSession.getID()) 72 && internalSession.getRestrictionForToken(sid) == null) { 80 sid)); 84 sid)); 93 * @param sid Session ID for the user performing the action. 101 public SessionInfo makeSessionInfo(InternalSession internalSession, SessionID sid) argument 104 TokenRestriction restriction = internalSession.getRestrictionForToken(sid); 112 } else if (!sid [all...] |
/forgerock/openam/openam-core/src/main/java/com/iplanet/dpro/session/utils/ |
H A D | SessionInfoFactory.java | 64 * @param sid SessionID to check with the InternalSession. 71 public void validateSession(InternalSession internalSession, SessionID sid) argument 73 if (!sid.equals(internalSession.getID()) 74 && internalSession.getRestrictionForToken(sid) == null) { 82 sid)); 86 sid)); 95 * @param sid Session ID for the user performing the action. 103 public SessionInfo makeSessionInfo(InternalSession internalSession, SessionID sid) argument 106 TokenRestriction restriction = internalSession.getRestrictionForToken(sid); 114 } else if (!sid [all...] |
/forgerock/openam-v13/openam-core/src/main/java/org/forgerock/openam/session/ |
H A D | SessionServiceURLService.java | 107 * @param sid Session ID 111 public URL getSessionServiceURL(SessionID sid) throws SessionException { argument 121 sid.validate(); 124 if (ss.isSiteEnabled() && ss.isLocalSite(sid)) { 126 return getSessionServiceURL(ss.getCurrentHostServer(sid)); 128 primaryId = sid.getExtension().getPrimaryID(); 133 primaryId = sid.getExtension().getPrimaryID(); 146 return getSessionServiceURL(sid.getSessionServerProtocol(), sid.getSessionServer(), sid [all...] |
H A D | SessionPollerSender.java | 38 private final SessionID sid; field in class:SessionPollerSender 45 this.sid = session.getID(); 50 SessionRequest sreq = new SessionRequest(SessionRequest.GetSession, sid.toString(), false); 54 sessionCache.removeSID(sid); 64 sessionCache.removeSID(sid); 76 sessionCache.removeSID(sid); 90 sessionCache.removeSID(sid); 95 sessionCache.removeSID(sid);
|
H A D | SessionCookies.java | 102 * @param sid Session string for load balancer cookie. 106 public String getLBCookie(String sid) throws SessionException { argument 107 return getLBCookie(new SessionID(sid)); 112 * @param sid Session ID for load balancer cookie. 116 public String getLBCookie(SessionID sid) throws SessionException { argument 125 if (sid == null || StringUtils.isBlank(sid.toString())) { 132 cookieValue = WebtopNaming.getLBCookieValue(sid.getSessionServerID()); 140 if (sessionService.isSessionFailoverEnabled() && sessionService.isLocalSite(sid)) { 141 cookieValue = WebtopNaming.getLBCookieValue(sessionService.getCurrentHostServer(sid)); [all...] |
/forgerock/openam/openam-core/src/main/java/org/forgerock/openam/session/ |
H A D | SessionServiceURLService.java | 123 * @param sid Session ID 127 public URL getSessionServiceURL(SessionID sid) throws SessionException { argument 137 sid.validate(); 141 if (sessionServerConfig.isSiteEnabled() && sessionServerConfig.isLocalSite(sid)) { 142 return getSessionServiceURL(servicesClusterMonitorHandler.getCurrentHostServer(sid)); 145 primaryId = sid.getExtension().getPrimaryID(); 158 return getSessionServiceURL(sid.getSessionServerProtocol(), sid.getSessionServer(), sid.getSessionServerPort(), 159 sid [all...] |
H A D | SessionPollerSender.java | 52 private final SessionID sid; field in class:SessionPollerSender 65 this.sid = session.getID(); 70 SessionRequest sreq = new SessionRequest(SessionRequest.GetSession, sid.toString(), false); 74 sessionCache.removeSID(sid); 84 sessionCache.removeSID(sid); 96 sessionCache.removeSID(sid); 110 sessionCache.removeSID(sid); 115 sessionCache.removeSID(sid);
|
H A D | SessionCookies.java | 116 * @param sid Session string for load balancer cookie. 120 public String getLBCookie(String sid) throws SessionException { argument 121 return getLBCookie(new SessionID(sid)); 126 * @param sid Session ID for load balancer cookie. 130 public String getLBCookie(SessionID sid) throws SessionException { argument 139 if (sid == null || StringUtils.isBlank(sid.toString())) { 146 cookieValue = WebtopNaming.getLBCookieValue(sid.getSessionServerID()); 155 if (sessionServerConfig.isLocalSite(sid)) { 156 cookieValue = WebtopNaming.getLBCookieValue(servicesClusterMonitorHandler.getCurrentHostServer(sid)); [all...] |
/forgerock/openam-v13/openam-core/src/main/java/com/iplanet/sso/providers/dpro/ |
H A D | SSOTokenIDImpl.java | 54 * @param sid The SessionID 57 public SSOTokenIDImpl(com.iplanet.dpro.session.SessionID sid) { argument 58 SSOSessionID = sid;
|
/forgerock/openam-v13/openam-core/src/main/java/com/sun/identity/session/util/ |
H A D | RestrictedTokenHelper.java | 47 * @param sid 51 * @return SSOToken a restricted token if present for the given sid 55 public static SSOToken resolveRestrictedToken(final String sid, argument 61 .createSSOToken(sid);
|
/forgerock/openam/openam-core/src/main/java/com/iplanet/dpro/session/service/ |
H A D | InternalSessionFactory.java | 100 private InternalSession generateInternalSession(SessionID sid, boolean stateless) throws SessionException { argument 102 InternalSession session = new InternalSession(sid); 105 String sessionHandle = sid.generateSessionHandle(serverConfig); 134 SessionID sid; 136 sid = SessionID.generateSessionID(serverConfig, domain); 137 } while (sessionAccessManager.getInternalSession(sid) != null 138 || sessionAccessManager.getInternalSessionByHandle(sid.toString()) != null); 139 return sid;
|
/forgerock/openam/openam-core/src/main/java/com/iplanet/sso/providers/dpro/ |
H A D | SSOTokenIDImpl.java | 54 * @param sid The SessionID 57 public SSOTokenIDImpl(com.iplanet.dpro.session.SessionID sid) { argument 58 SSOSessionID = sid;
|
/forgerock/openam/openam-core/src/main/java/com/sun/identity/session/util/ |
H A D | RestrictedTokenHelper.java | 47 * @param sid 51 * @return SSOToken a restricted token if present for the given sid 55 public static SSOToken resolveRestrictedToken(final String sid, argument 61 .createSSOToken(sid);
|
/forgerock/opendj-b2.6/src/server/org/opends/server/replication/server/ |
H A D | MonitorData.java | 254 for (Integer sid : maxCNs.keySet()) { 255 ChangeNumber cn = maxCNs.get(sid); 256 mds += "\nmaxCNs(" + sid + ")= " + cn.toStringUI(); 260 for (Integer sid : LDAPStates.keySet()) { 261 ServerState ss = LDAPStates.get(sid); 262 mds += "\nLSData(" + sid + ")=\t" + "state=[" + ss.toString() 263 + "] afmd=" + this.getApproxFirstMissingDate(sid); 265 mds += " missingDelay=" + this.getApproxDelay(sid); 267 mds += " missingCount=" + missingChanges.get(sid); 271 for (Integer sid [all...] |
/forgerock/opendj2.6.2/src/server/org/opends/server/replication/server/ |
H A D | MonitorData.java | 254 for (Integer sid : maxCNs.keySet()) { 255 ChangeNumber cn = maxCNs.get(sid); 256 mds += "\nmaxCNs(" + sid + ")= " + cn.toStringUI(); 260 for (Integer sid : LDAPStates.keySet()) { 261 ServerState ss = LDAPStates.get(sid); 262 mds += "\nLSData(" + sid + ")=\t" + "state=[" + ss.toString() 263 + "] afmd=" + this.getApproxFirstMissingDate(sid); 265 mds += " missingDelay=" + this.getApproxDelay(sid); 267 mds += " missingCount=" + missingChanges.get(sid); 271 for (Integer sid [all...] |
/forgerock/opendj2-jel-hg/src/server/org/opends/server/replication/server/ |
H A D | MonitorData.java | 254 for (Integer sid : maxCNs.keySet()) { 255 ChangeNumber cn = maxCNs.get(sid); 256 mds += "\nmaxCNs(" + sid + ")= " + cn.toStringUI(); 260 for (Integer sid : LDAPStates.keySet()) { 261 ServerState ss = LDAPStates.get(sid); 262 mds += "\nLSData(" + sid + ")=\t" + "state=[" + ss.toString() 263 + "] afmd=" + this.getApproxFirstMissingDate(sid); 265 mds += " missingDelay=" + this.getApproxDelay(sid); 267 mds += " missingCount=" + missingChanges.get(sid); 271 for (Integer sid [all...] |
/forgerock/openam-v13/openam-core/src/main/java/com/iplanet/dpro/session/service/ |
H A D | SessionService.java | 393 SessionID sid = new SessionID(masterSid); 398 String hostServerID = getCurrentHostServer(sid); 402 hostServerID = getCurrentHostServer(sid); 406 sessionServiceURLService.getSessionServiceURL(hostServerID), sid, restriction); 416 return doGetRestrictedTokenId(sid, restriction); 458 * @param sid Session ID 460 InternalSession removeInternalSession(SessionID sid) { argument 462 if (sid == null) 464 InternalSession session = cache.remove(sid); 467 remoteSessionSet.remove(sid); 494 deleteFromRepository(SessionID sid) argument 512 isSessionPresent(SessionID sid) argument 528 checkSessionLocal(SessionID sid) argument 552 getInternalSession(SessionID sid) argument 768 destroyInternalSession(SessionID sid) argument 785 logoutInternalSession(SessionID sid) argument 832 getSessionInfo(SessionID sid, boolean reset) argument 900 destroySession(Session requester, SessionID sid) argument 935 checkPermissionToDestroySession(Session requester, SessionID sid) argument 961 logout(SessionID sid) argument 978 addSessionListener(SessionID sid, String url) argument 1037 setProperty(SessionID sid, String name, String value) argument 1143 setExternalProperty(SSOToken clientToken, SessionID sid, String name, String value) argument 1178 getCurrentHostServer(SessionID sid) argument 1385 invalidateHttpSession(SessionID sid) argument 1429 releaseSession(URL owner, SessionID sid) argument 1467 handleReleaseSession(SessionID sid) argument 1505 recoverSession(SessionID sid) argument 1574 retrieveSession(SessionID sid, HttpSession httpSession) argument 1710 saveSession(SessionID sid) argument 1743 handleSaveSession(SessionID sid, HttpSession httpSession) argument [all...] |
H A D | SessionRequestHandler.java | 193 SessionID sid = new SessionID(req.getSessionID()); 202 * request parameter sid in this case is only used to authenticate 203 * the operation Session pointed by sid is not expected to be local 214 requesterSession = sessionCache.getSession(sid); 217 * also check that sid is not a restricted token 220 res.setException(sid + " " + SessionBundle.getString("noPrivilege")); 228 * sid which is supposed to be hosted by this server instance sid is 238 requesterSession = sessionCache.getSession(sid); 241 * also check that sid i [all...] |
H A D | InternalSessionFactory.java | 126 SessionID sid = generateSessionId(domain, null); 127 return generateInternalSession(sid, httpSession, stateless); 130 private InternalSession generateInternalSession(SessionID sid, HttpSession httpSession, boolean stateless) throws SessionException { argument 132 InternalSession session = new InternalSession(sid); 135 String sessionHandle = sid.generateSessionHandle(serverConfig); 190 SessionID sid = new SessionID(in.readUTF()); 191 return cache.getBySessionID(sid); 210 SessionID sid; 212 sid = SessionID.generateSessionID(serverConfig, domain, jwt); 213 } while (cache.getBySessionID(sid) ! [all...] |
/forgerock/openam-v13/openam-core/src/main/java/com/iplanet/dpro/session/share/ |
H A D | SessionInfo.java | 50 private String sid; field in class:SessionInfo 77 xml.append("<Session sid=").append(QUOTE).append(sid).append(QUOTE) 114 return sid; 117 public void setSessionID(final String sid) { argument 118 this.sid = sid; 307 && !(sid != null ? !sid.equals(that.sid) [all...] |
/forgerock/openam-v13/openam-core/src/test/java/com/iplanet/dpro/session/operations/strategies/ |
H A D | StatelessOperationsTest.java | 63 private SessionID sid; field in class:StatelessOperationsTest 70 sid = new SessionID("test"); 71 given(mockSession.getID()).willReturn(sid); 81 given(mockSessionFactory.getSessionInfo(sid)).willReturn(info); 87 verify(mockSessionFactory).getSessionInfo(sid); 95 given(mockSessionFactory.getSessionInfo(sid)).willReturn(info); 125 verify(mockSessionService).checkPermissionToDestroySession(requester, sid); 147 willThrow(ex).given(mockSessionService).checkPermissionToDestroySession(requester, sid);
|
/forgerock/openam-v13/openam-core/src/test/java/com/iplanet/dpro/session/ |
H A D | SessionIDIntegrationTest.java | 56 final SessionID sid = new SessionID(SessionID.makeSessionID(encryptedId, extensions, tail)); 59 assertThat(sid.getTail()).isEqualTo(tail); 60 assertThat(sid.getExtension().get("one")).isEqualTo("one"); 61 assertThat(sid.getExtension().get("two")).isEqualTo("two");
|
/forgerock/openam/openam-core/src/test/java/com/iplanet/dpro/session/ |
H A D | SessionIDIntegrationTest.java | 56 final SessionID sid = new SessionID(SessionID.makeSessionID(encryptedId, extensions, tail)); 59 assertThat(sid.getTail()).isEqualTo(tail); 60 assertThat(sid.getExtension().get("one")).isEqualTo("one"); 61 assertThat(sid.getExtension().get("two")).isEqualTo("two");
|