/forgerock/openam-v13/openam-core/src/main/java/com/iplanet/dpro/session/service/ |
H A D | HttpConnectionFactory.java | 81 * HttpURLConnection using url and adding cookies based on sid and returns 86 * @param sid SessionID 88 public HttpURLConnection createSessionAwareConnection(URL url, SessionID sid, String extraCookies) throws Exception { argument 115 if (sid != null) { 118 cookie.append(serviceConfig.isCookieEncodingEnabled() ? URLEncDec.encode(sid.toString()) : sid.toString()); 120 String httpId = sid.getTail();
|
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/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-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-v13/openam-core/src/main/java/org/forgerock/openam/session/ |
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 | 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 | 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...] |
H A D | SessionCache.java | 122 * @param sid Session ID. 124 public void removeSID(SessionID sid) { argument 125 if(sid == null || sid.isNull()){ 128 Session session = readSession(sid); 135 deleteSession(sid); 208 * @param sid Session ID. 215 public Session getSession(SessionID sid) throws SessionException { argument 216 return getSession(sid, false);
|
/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/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/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/openam/openam-core/src/main/java/org/forgerock/openam/session/ |
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 | 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 | 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/org/forgerock/openam/sso/providers/stateless/ |
H A D | StatelessSession.java | 39 public StatelessSession(SessionID sid, SessionInfo sessionInfo) throws SessionException { argument 40 super(sid);
|
H A D | StatelessSessionFactory.java | 95 * @param sid the session id to check. 98 public boolean containsJwt(SessionID sid) { argument 99 return getJWTFromSessionID(sid, false) != null;
|
/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/org/forgerock/openam/session/service/ |
H A D | ServicesClusterMonitorHandler.java | 68 * the server id which is currently hosting session identified by sid. In 73 * @param sid session id 78 public String getCurrentHostServer(SessionID sid) throws SessionException { argument 79 return getClusterMonitor().getCurrentHostServer(sid);
|
/forgerock/openam-v13/openam-core/src/main/java/com/sun/identity/authentication/service/ |
H A D | DSAMECallbackHandler.java | 59 String sid = null; field in class:DSAMECallbackHandler
|
H A D | DefaultSessionActivator.java | 130 protected Subject addSSOTokenPrincipal(Subject subject, SessionID sid) { argument 134 String sidStr = sid.toString(); 136 DEBUG.message("sid string is.. " + sidStr);
|
/forgerock/openam-v13/openam-shared/src/main/java/com/iplanet/sso/ |
H A D | SSOProvider.java | 69 * @param sid String representing the SSOToken Id 75 public SSOToken createSSOToken(String sid) throws SSOException, argument 80 * @param sid String representing the SSOToken Id 89 public SSOToken createSSOToken(String sid, boolean invokedByAuth, boolean possiblyResetIdleTime) argument 95 * @param sid 102 public SSOToken createSSOToken(String sid, String clientIP) argument
|
/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);
|