/forgerock/opendj-v3/opendj-server-legacy/src/main/java/org/opends/server/replication/service/ |
H A D | ReplicationBroker.java | 77 /** Contains a connected session to the RS if any exist, null otherwise. */ 78 private final Session session; field in class:ReplicationBroker.ConnectedRS 84 this.session = null; 88 private ConnectedRS(ReplicationServerInfo rsInfo, Session session) argument 91 this.session = session; 92 this.replicationServer = session != null ? 93 session.getReadableRemoteAddress() 119 return session != null; 184 /** A thread to monitor heartbeats on the session [all...] |
/forgerock/openam-v13/openam-federation/openam-federation-library/src/main/java/com/sun/identity/multiprotocol/ |
H A D | WSFederationSingleLogoutHandler.java | 32 import com.sun.identity.plugin.session.SessionException; 33 import com.sun.identity.plugin.session.SessionManager; 34 import com.sun.identity.plugin.session.SessionProvider; 65 * session shall not be destroyed by the SPI implementation. In cases of 70 * - logout single session (specified by userSession parameter) 71 * - logout a list of session (specified by userSession parameter) 78 * @param userSession Set of user session objects (java.lang.Object) to be 140 // no session for this protocol 235 * Returns true if the user session is used by WS-Fed protocol, false 242 Object session [all...] |
/forgerock/openam-v13/openam-federation/openam-federation-library/src/main/java/com/sun/identity/wsfederation/plugins/ |
H A D | DefaultIDPAccountMapper.java | 36 import com.sun.identity.plugin.session.SessionManager; 37 import com.sun.identity.plugin.session.SessionProvider; 38 import com.sun.identity.plugin.session.SessionException; 72 * @param session Session object. 82 Object session, 90 userID = sessionProv.getPrincipalName(session); 81 getNameID( Object session, String realm, String hostEntityID, String remoteEntityID ) argument
|
/forgerock/openam-v13/openam-core/src/test/java/org/forgerock/openam/session/blacklist/ |
H A D | CTSSessionBlacklistTest.java | 17 package org.forgerock.openam.session.blacklist; 26 import com.iplanet.dpro.session.Session; 27 import com.iplanet.dpro.session.SessionException; 28 import com.iplanet.dpro.session.service.SessionServerConfig; 29 import com.iplanet.dpro.session.service.SessionServiceConfig;
|
/forgerock/openam/openam-core-rest/src/main/java/org/forgerock/openam/core/rest/session/action/ |
H A D | SetPropertyActionHandler.java | 17 package org.forgerock.openam.core.rest.session.action; 35 import org.forgerock.openam.core.rest.session.SessionResource; 36 import org.forgerock.openam.core.rest.session.SessionResourceUtil; 39 import org.forgerock.openam.session.SessionConstants; 40 import org.forgerock.openam.session.SessionPropertyWhitelist; 61 * @param sessionResourceUtil An instance of the session resource manager 95 LOGGER.message("Unable to set session property due to unreadable SSOToken", e); 98 LOGGER.message("Unable to read session property due to delegation match internal error", e);
|
/forgerock/openam/openam-federation/openam-federation-library/src/main/java/com/sun/identity/multiprotocol/ |
H A D | WSFederationSingleLogoutHandler.java | 32 import com.sun.identity.plugin.session.SessionException; 33 import com.sun.identity.plugin.session.SessionManager; 34 import com.sun.identity.plugin.session.SessionProvider; 65 * session shall not be destroyed by the SPI implementation. In cases of 70 * - logout single session (specified by userSession parameter) 71 * - logout a list of session (specified by userSession parameter) 78 * @param userSession Set of user session objects (java.lang.Object) to be 140 // no session for this protocol 235 * Returns true if the user session is used by WS-Fed protocol, false 242 Object session [all...] |
/forgerock/openam/openam-federation/openam-federation-library/src/main/java/com/sun/identity/wsfederation/plugins/ |
H A D | DefaultIDPAccountMapper.java | 42 import com.sun.identity.plugin.session.SessionManager; 43 import com.sun.identity.plugin.session.SessionProvider; 44 import com.sun.identity.plugin.session.SessionException; 75 * @param session Session object. 85 Object session, 93 userID = sessionProv.getPrincipalName(session); 84 getNameID( Object session, String realm, String hostEntityID, String remoteEntityID ) argument
|
/forgerock/openam-v13/openam-core/src/main/java/com/iplanet/dpro/session/ |
H A D | Session.java | 30 package com.iplanet.dpro.session; 32 import static org.forgerock.openam.session.SessionConstants.*; 36 import com.iplanet.dpro.session.operations.RemoteSessionOperationStrategy; 37 import com.iplanet.dpro.session.operations.ServerSessionOperationStrategy; 38 import com.iplanet.dpro.session.operations.SessionOperationStrategy; 39 import com.iplanet.dpro.session.operations.SessionOperations; 40 import com.iplanet.dpro.session.operations.strategies.RemoteOperations; 41 import com.iplanet.dpro.session.service.SessionService; 42 import com.iplanet.dpro.session.share.SessionBundle; 43 import com.iplanet.dpro.session 790 destroySession(Session session) argument [all...] |
/forgerock/openam/openam-core/src/test/java/com/iplanet/dpro/session/service/ |
H A D | SessionAuditorTest.java | 17 package com.iplanet.dpro.session.service; 33 import org.forgerock.openam.session.SessionEventType; 39 import com.iplanet.dpro.session.share.SessionInfo; 57 private InternalSession session; field in class:SessionAuditorTest 70 session = mock(InternalSession.class); 75 given(session.toSessionInfo()).willReturn(sessionInfo); 247 sessionAuditor.onEvent(new InternalSessionEvent(session, SessionEventType.QUOTA_EXHAUSTED, 259 sessionAuditor.onEvent(new InternalSessionEvent(session, SessionEventType.PROTECTED_PROPERTY, 272 sessionAuditor.onEvent(new InternalSessionEvent(session, SessionEventType.SESSION_CREATION, 280 InternalSessionEvent event = new InternalSessionEvent(session, sessionEventTyp [all...] |
/forgerock/openam-v13/openam-federation/openam-federation-library/src/main/java/com/sun/identity/saml2/profile/ |
H A D | IDPSingleLogout.java | 49 import com.sun.identity.plugin.session.SessionException; 50 import com.sun.identity.plugin.session.SessionManager; 51 import com.sun.identity.plugin.session.SessionProvider; 110 debug.error("Error retreiving session provider.", se); 160 Object session = sessionProvider.getSession(request); 161 String sessUser = sessionProvider.getPrincipalName(session); 162 if (session == null) { 168 getProperty(session, SAML2Constants.IDP_META_ALIAS); 191 // clean up session index 192 String idpSessionIndex = IDPSSOUtil.getSessionIndex(session); 1355 destroyTokenAndGenerateStatus( String sessionIndex, Object session, HttpServletRequest request, HttpServletResponse response, boolean cleanUp) argument 1499 isMisroutedRequest(HttpServletRequest request, HttpServletResponse response, PrintWriter out, Object session) argument 1609 sendLastResponse(IDPSession idpSession, LogoutResponse logoutRes, HttpServletRequest request, HttpServletResponse response, String idpSessionIndex, Object session, String realm, String idpEntityID, String relayState) argument [all...] |
H A D | SPSessionListener.java | 40 import com.sun.identity.plugin.session.SessionListener; 41 import com.sun.identity.plugin.session.SessionManager; 42 import com.sun.identity.plugin.session.SessionProvider; 43 import com.sun.identity.plugin.session.SessionException; 62 * SP session cache. 94 * It is used for cleaning up the SP session cache. 96 * @param session The session object 98 public void sessionInvalidated(Object session) argument 104 if (session [all...] |
/forgerock/openam/openam-federation/openam-federation-library/src/main/java/com/sun/identity/saml2/profile/ |
H A D | IDPSingleLogout.java | 49 import com.sun.identity.plugin.session.SessionException; 50 import com.sun.identity.plugin.session.SessionManager; 51 import com.sun.identity.plugin.session.SessionProvider; 111 debug.error("Error retreiving session provider.", se); 161 Object session = sessionProvider.getSession(request); 162 String sessUser = sessionProvider.getPrincipalName(session); 163 if (session == null) { 169 getProperty(session, SAML2Constants.IDP_META_ALIAS); 192 // clean up session index 193 String idpSessionIndex = IDPSSOUtil.getSessionIndex(session); 1348 destroyTokenAndGenerateStatus( String sessionIndex, Object session, HttpServletRequest request, HttpServletResponse response, boolean cleanUp) argument 1492 isMisroutedRequest(HttpServletRequest request, HttpServletResponse response, PrintWriter out, Object session) argument 1602 sendLastResponse(IDPSession idpSession, LogoutResponse logoutRes, HttpServletRequest request, HttpServletResponse response, PrintWriter out, String idpSessionIndex, Object session, String realm, String idpEntityID, String relayState) argument [all...] |
H A D | SPSessionListener.java | 40 import com.sun.identity.plugin.session.SessionListener; 41 import com.sun.identity.plugin.session.SessionManager; 42 import com.sun.identity.plugin.session.SessionProvider; 43 import com.sun.identity.plugin.session.SessionException; 62 * SP session cache. 94 * It is used for cleaning up the SP session cache. 96 * @param session The session object 98 public void sessionInvalidated(Object session) argument 104 if (session [all...] |
/forgerock/opendj-b2.6/src/server/org/opends/server/replication/server/ |
H A D | ReplicationServerHandler.java | 82 session.setProtocolVersion(protocolVersion); 88 session.getRemoteAddress() + ":" + serverURL.substring(separator + 131 * @param session The session with the remote RS. 139 Session session, 146 super(session, queueSize, replicationServerURL, replicationServerId, 176 ReplicationMsg msg = session.receive(); 222 // Until here session is encrypted then it depends on the negociation 223 // The session initiator decides whether to use SSL. 225 session 138 ReplicationServerHandler( Session session, int queueSize, String replicationServerURL, int replicationServerId, ReplicationServer replicationServer, int rcvWindowSize) argument [all...] |
/forgerock/opendj2.6.2/src/server/org/opends/server/replication/server/ |
H A D | ReplicationServerHandler.java | 82 session.setProtocolVersion(protocolVersion); 88 session.getRemoteAddress() + ":" + serverURL.substring(separator + 131 * @param session The session with the remote RS. 139 Session session, 146 super(session, queueSize, replicationServerURL, replicationServerId, 176 ReplicationMsg msg = session.receive(); 222 // Until here session is encrypted then it depends on the negociation 223 // The session initiator decides whether to use SSL. 225 session 138 ReplicationServerHandler( Session session, int queueSize, String replicationServerURL, int replicationServerId, ReplicationServer replicationServer, int rcvWindowSize) argument [all...] |
/forgerock/opendj2-jel-hg/src/server/org/opends/server/replication/server/ |
H A D | ReplicationServerHandler.java | 82 session.setProtocolVersion(protocolVersion); 88 session.getRemoteAddress() + ":" + serverURL.substring(separator + 131 * @param session The session with the remote RS. 139 Session session, 146 super(session, queueSize, replicationServerURL, replicationServerId, 176 ReplicationMsg msg = session.receive(); 222 // Until here session is encrypted then it depends on the negociation 223 // The session initiator decides whether to use SSL. 225 session 138 ReplicationServerHandler( Session session, int queueSize, String replicationServerURL, int replicationServerId, ReplicationServer replicationServer, int rcvWindowSize) argument [all...] |
/forgerock/openam-v13/openam-core/src/main/java/com/iplanet/dpro/session/service/cluster/ |
H A D | MultiServerClusterMonitor.java | 30 package com.iplanet.dpro.session.service.cluster; 32 import com.iplanet.dpro.session.SessionException; 33 import com.iplanet.dpro.session.SessionID; 34 import com.iplanet.dpro.session.service.PermutationGenerator; 35 import com.iplanet.dpro.session.service.SessionServerConfig; 36 import com.iplanet.dpro.session.service.SessionService; 37 import com.iplanet.dpro.session.service.SessionServiceConfig; 237 * @param sid session id 240 * @throws com.iplanet.dpro.session.SessionException 249 // if session i [all...] |
/forgerock/openam-v13/openam-core/src/test/java/com/iplanet/dpro/session/service/cluster/ |
H A D | MultiServerClusterMonitorTest.java | 17 package com.iplanet.dpro.session.service.cluster; 23 import com.iplanet.dpro.session.SessionID; 24 import com.iplanet.dpro.session.SessionIDExtensions; 25 import com.iplanet.dpro.session.service.SessionServerConfig; 26 import com.iplanet.dpro.session.service.SessionService; 27 import com.iplanet.dpro.session.service.SessionServiceConfig; 28 import com.iplanet.dpro.session.service.cluster.MultiServerClusterMonitor.ClusterStateServiceFactory; 110 // A site with 2x AM servers, if server "01" is presented a session that is homed 112 // used to generate a sequence of alternative servers to try to re-home the session 114 // new home server for that session [all...] |
/forgerock/opendj-b2.6/tests/staf-tests/shared/java/snmp/ |
H A D | SNMPSet.java | 168 // Create the session 170 session = new SnmpSession("Set V" + version + " session"); 204 session.setDefaultPeer(agent); 217 // Create the session 219 session = new SnmpSession( 222 "Set V3 session", 226 // associated to the session. Other objects might need 229 final SnmpEngine engine = session.getEngine(); 292 session 523 SnmpSession session = null; field in class:SNMPSet [all...] |
/forgerock/opendj2/tests/staf-tests/shared/java/snmp/ |
H A D | SNMPSet.java | 167 // Create the session 169 session = new SnmpSession("Set V" + version + " session"); 203 session.setDefaultPeer(agent); 216 // Create the session 218 session = new SnmpSession( 221 "Set V3 session", 225 // associated to the session. Other objects might need 228 final SnmpEngine engine = session.getEngine(); 291 session 522 SnmpSession session = null; field in class:SNMPSet [all...] |
/forgerock/opendj2.6.2/tests/staf-tests/shared/java/snmp/ |
H A D | SNMPSet.java | 168 // Create the session 170 session = new SnmpSession("Set V" + version + " session"); 204 session.setDefaultPeer(agent); 217 // Create the session 219 session = new SnmpSession( 222 "Set V3 session", 226 // associated to the session. Other objects might need 229 final SnmpEngine engine = session.getEngine(); 292 session 523 SnmpSession session = null; field in class:SNMPSet [all...] |
/forgerock/opendj2-jel-hg/tests/staf-tests/shared/java/snmp/ |
H A D | SNMPSet.java | 168 // Create the session 170 session = new SnmpSession("Set V" + version + " session"); 204 session.setDefaultPeer(agent); 217 // Create the session 219 session = new SnmpSession( 222 "Set V3 session", 226 // associated to the session. Other objects might need 229 final SnmpEngine engine = session.getEngine(); 292 session 523 SnmpSession session = null; field in class:SNMPSet [all...] |
/forgerock/opendj2-hg/tests/staf-tests/shared/java/snmp/ |
H A D | SNMPSet.java | 167 // Create the session 169 session = new SnmpSession("Set V" + version + " session"); 203 session.setDefaultPeer(agent); 216 // Create the session 218 session = new SnmpSession( 221 "Set V3 session", 225 // associated to the session. Other objects might need 228 final SnmpEngine engine = session.getEngine(); 291 session 522 SnmpSession session = null; field in class:SNMPSet [all...] |
/forgerock/openam-v13/openam-core/src/main/java/com/iplanet/dpro/session/service/ |
H A D | SessionCount.java | 33 package com.iplanet.dpro.session.service; 35 import static org.forgerock.openam.session.SessionConstants.*; 40 import com.iplanet.dpro.session.SessionException; 41 import com.iplanet.dpro.session.SessionID; 42 import com.iplanet.dpro.session.share.SessionRequest; 43 import com.iplanet.dpro.session.share.SessionResponse; 49 import com.sun.identity.session.util.RestrictedTokenContext; 68 import org.forgerock.openam.session.SessionPLLSender; 69 import org.forgerock.openam.session.SessionServiceURLService; 76 * <code>SessionCount</code> represents the session coun [all...] |
/forgerock/openam-v13/openam-core/src/test/java/org/forgerock/openam/cts/adapters/ |
H A D | SessionAdapterTest.java | 20 import com.iplanet.dpro.session.SessionID; 21 import com.iplanet.dpro.session.service.InternalSession; 75 InternalSession session = mock(InternalSession.class); 81 given(session.getExpirationTime(TimeUnit.MILLISECONDS)).willReturn(TimeUnit.SECONDS.toMillis(mockTimestamp)); 85 given(session.getID()).willReturn(mockSessionID); 86 given(session.getSessionHandle()).willReturn(sessionHandle); 89 given(jsonSerialisation.deserialise(anyString(), eq(InternalSession.class))).willReturn(session); 134 InternalSession session = adapter.fromToken(token); 139 long idleTime = session.getIdleTime();
|