/forgerock/openam-v13/openam-core/src/main/java/com/iplanet/dpro/session/utils/ |
H A D | SessionInfoFactory.java | 44 * @param internalSession Non null InternalSession to summarise. 50 public SessionInfo getSessionInfo(InternalSession internalSession, SessionID sessionID) throws SessionException { argument 51 validateSession(internalSession, sessionID); 52 return makeSessionInfo(internalSession, sessionID); 61 * @param internalSession InternalSession to check. 69 public void validateSession(InternalSession internalSession, SessionID sid) argument 71 if (!sid.equals(internalSession.getID()) 72 && internalSession.getRestrictionForToken(sid) == null) { 76 if (internalSession.getState() != VALID) { 77 if (internalSession 101 makeSessionInfo(InternalSession internalSession, SessionID sid) argument [all...] |
/forgerock/openam/openam-core/src/main/java/com/iplanet/dpro/session/service/ |
H A D | InternalSessionEvent.java | 44 private final InternalSession internalSession; field in class:InternalSessionEvent 51 * @param internalSession The session object which emitted this event. 55 public InternalSessionEvent(InternalSession internalSession, SessionEventType eventType, long eventTime) { argument 56 Reject.ifNull(internalSession, eventType, eventTime); 57 this.internalSession = internalSession; 68 return internalSession;
|
H A D | SessionConstraint.java | 114 * @param internalSession 117 protected boolean checkQuotaAndPerformAction(InternalSession internalSession) { argument 121 // Check if it internalSession upgrade scenario 122 if (internalSession.getIsSessionUpgrade()) { 127 int quota = getSessionQuota(internalSession); 134 sessions = InjectorHolder.getInstance(SessionQueryManager.class).getAllSessionsByUUID(internalSession.getUUID()); 141 "The session repository internalSession down and "+ 150 "The session repository internalSession down and "+ 163 // If the session quota internalSession exhausted, invoke the 165 reject = getQuotaExhaustionAction().action(internalSession, session [all...] |
/forgerock/openam/openam-core/src/main/java/com/iplanet/dpro/session/utils/ |
H A D | SessionInfoFactory.java | 46 * @param internalSession Non null InternalSession to summarise. 52 public SessionInfo getSessionInfo(InternalSession internalSession, SessionID sessionID) throws SessionException { argument 53 validateSession(internalSession, sessionID); 54 return makeSessionInfo(internalSession, sessionID); 63 * @param internalSession InternalSession to check. 71 public void validateSession(InternalSession internalSession, SessionID sid) argument 73 if (!sid.equals(internalSession.getID()) 74 && internalSession.getRestrictionForToken(sid) == null) { 78 if (internalSession.getState() != SessionState.VALID) { 79 if (internalSession 103 makeSessionInfo(InternalSession internalSession, SessionID sid) argument [all...] |
/forgerock/openam/openam-core/src/main/java/org/forgerock/openam/session/ |
H A D | SessionURL.java | 276 InternalSession internalSession) { 278 String cookieStr = internalSession.getCachedCookieString(); 280 if (!StringUtils.isBlank(url) && (!internalSession.getCookieSupport())) { 284 if (internalSession.getSessionID() != null) { 285 internalSession.cacheCookieString(SessionEncodeURL.createCookieString(cookieName, internalSession.getSessionID().toString())); 286 encodedURL = SessionEncodeURL.encodeURL(internalSession.getCachedCookieString(), url, encodingScheme, escape); 275 encodeInternalSessionURL(String url, short encodingScheme, boolean escape, String cookieName, InternalSession internalSession) argument
|
/forgerock/openam/openam-core/src/main/java/org/forgerock/openam/session/service/access/persistence/ |
H A D | AbstractInternalSessionStoreStep.java | 50 public void remove(InternalSession internalSession, InternalSessionStore next) throws SessionPersistenceException { argument 51 next.remove(internalSession);
|
H A D | TimeOutSessionFilterStep.java | 54 final InternalSession internalSession) throws SessionPersistenceException { 55 if (internalSession == null || isSessionTimedOut(internalSession)) { 60 return internalSession; 63 private boolean isSessionTimedOut(final InternalSession internalSession) { argument 65 if (internalSession.isTimedOut()) { 69 if (!internalSession.willExpire()) { 73 if (0 >= internalSession.getTimeLeft()) { 77 if (internalSession.getIdleTime() > 78 TimeUnit.SECONDS.convert(internalSession 53 processInternalSession( final InternalSession internalSession) argument [all...] |
H A D | SessionPersistenceManagerStep.java | 70 public void notifyUpdate(InternalSession internalSession) { argument 71 Reject.ifNull(internalSession); 72 if (internalSession.isStored()) { 74 fullSessionStore.get().store(internalSession); 81 private InternalSession setPersistenceManager(InternalSession internalSession) { argument 82 if (internalSession == null) { 85 internalSession.setPersistenceManager(this); 86 return internalSession;
|
/forgerock/openam/openam-core/src/test/java/org/forgerock/openam/session/service/access/ |
H A D | SessionQueryManagerTest.java | 55 private InternalSession internalSession; field in class:SessionQueryManagerTest 76 given(sessionPersistenceStore.getValidSessions()).willReturn(Arrays.asList(internalSession)); 77 given(internalSession.isUserSession()).willReturn(true); 78 given(internalSession.toSessionInfo()).willReturn(new SessionInfo());
|
/forgerock/openam-v13/openam-core/src/main/java/org/forgerock/openam/sso/providers/stateless/ |
H A D | StatelessSessionFactory.java | 167 * @param internalSession Non null Internal Session to convert to a StatelessSession. 171 public StatelessSession generate(InternalSession internalSession) throws SessionException { argument 172 SessionInfo sessionInfo = internalSession.toSessionInfo(false); 176 internalSession.getSessionHandle());
|
/forgerock/openam/openam-core/src/main/java/org/forgerock/openam/session/service/ |
H A D | SessionAccessManager.java | 161 * @param internalSession the session to remove 164 public void removeInternalSession(InternalSession internalSession) { argument 165 if (null == internalSession) { 170 internalSessionStore.remove(internalSession);
|
/forgerock/openam/openam-core/src/main/java/org/forgerock/openam/sso/providers/stateless/ |
H A D | StatelessSessionManager.java | 183 * @param internalSession Non null Internal Session to convert to a StatelessSession. 187 public StatelessSession generate(InternalSession internalSession) throws SessionException { argument 188 SessionInfo sessionInfo = internalSession.toSessionInfo(false);
|
/forgerock/openam-v13/openam-core/src/main/java/com/iplanet/dpro/session/service/ |
H A D | SessionService.java | 1025 public void sendEvent(InternalSession internalSession, int eventType) { argument 1026 sessionNotificationSender.sendEvent(internalSession, eventType);
|