/forgerock/openam-v13/openam-core/src/test/java/org/forgerock/openam/sso/providers/stateless/ |
H A D | StatelessAdminRestrictionTest.java | 38 private StatelessAdminRestriction restriction; field in class:StatelessAdminRestrictionTest 44 restriction = new StatelessAdminRestriction(mockDelegate, mockFactory); 49 restriction.isRestricted((SSOToken)null); 54 restriction.isRestricted((String)null); 65 restriction.isRestricted(token); 77 restriction.isRestricted(token); 92 boolean result = restriction.isRestricted(token);
|
/forgerock/openam/openam-core/src/test/java/org/forgerock/openam/sso/providers/stateless/ |
H A D | StatelessAdminRestrictionTest.java | 38 private StatelessAdminRestriction restriction; field in class:StatelessAdminRestrictionTest 44 restriction = new StatelessAdminRestriction(mockDelegate, mockFactory); 49 restriction.isRestricted((SSOToken)null); 54 restriction.isRestricted((String)null); 65 restriction.isRestricted(token); 77 restriction.isRestricted(token); 92 boolean result = restriction.isRestricted(token);
|
/forgerock/openam-v13/openam-core/src/main/java/com/iplanet/dpro/session/utils/ |
H A D | SessionInfoFactory.java | 104 TokenRestriction restriction = internalSession.getRestrictionForToken(sid); 105 if (restriction != null) { 108 TokenRestrictionFactory.marshal(restriction));
|
/forgerock/openam/openam-core/src/main/java/com/iplanet/dpro/session/utils/ |
H A D | SessionInfoFactory.java | 106 TokenRestriction restriction = internalSession.getRestrictionForToken(sid); 107 if (restriction != null) { 110 TokenRestrictionFactory.marshal(restriction));
|
/forgerock/openam-v13/openam-core/src/main/java/org/forgerock/openam/sso/providers/stateless/ |
H A D | StatelessSSOProvider.java | 40 private final StatelessAdminRestriction restriction; field in class:StatelessSSOProvider 49 StatelessAdminRestriction restriction, 53 this.restriction = restriction; 138 if (restriction.isRestricted(token)) { 47 StatelessSSOProvider(StatelessSessionFactory statelessSessionFactory, SessionBlacklist sessionBlacklist, StatelessAdminRestriction restriction, @Named(SessionConstants.SESSION_DEBUG) Debug debug) argument
|
H A D | StatelessSession.java | 58 protected void setRestriction(TokenRestriction restriction) { argument
|
/forgerock/openam/openam-core/src/main/java/org/forgerock/openam/sso/providers/stateless/ |
H A D | StatelessSSOProvider.java | 61 private final StatelessAdminRestriction restriction; field in class:StatelessSSOProvider 71 StatelessAdminRestriction restriction, 75 this.restriction = restriction; 182 if (restriction.isRestricted(token)) { 69 StatelessSSOProvider(StatelessSessionManager statelessSessionManager, Blacklist<Session> sessionBlacklist, StatelessAdminRestriction restriction, @Named(SessionConstants.SESSION_DEBUG) Debug debug) argument
|
H A D | StatelessSession.java | 76 protected void setRestriction(TokenRestriction restriction) { argument
|
/forgerock/openam/openam-core/src/main/java/com/iplanet/dpro/session/operations/strategies/ |
H A D | LocalOperations.java | 247 TokenRestriction restriction = session.getRestrictionForToken(token); 248 if (restriction != null && !restriction.isSatisfied(RestrictedTokenContext.getCurrent())) { 264 * @param restriction TokenRestriction Object 269 final TokenRestriction restriction) throws SessionException { 277 // attempt to reuse the token if restriction is the same 278 SessionID restrictedSessionID = session.getRestrictedTokenForRestriction(restriction); 281 restrictedSessionID = session.addRestrictedToken(generatedRestrictedSessionID, restriction); 305 //if the provided session ID was a restricted token, resolveToken will always validate the restriction, so there is no 268 getRestrictedTokenId(final SessionID masterSessionId, final TokenRestriction restriction) argument
|
H A D | ClientSdkOperations.java | 212 public String getRestrictedTokenId(SessionID masterSid, TokenRestriction restriction) throws SessionException { argument
|
/forgerock/openam/openam-core/src/main/java/com/iplanet/dpro/session/monitoring/ |
H A D | MonitoredOperations.java | 135 public String getRestrictedTokenId(SessionID masterSid, TokenRestriction restriction) throws SessionException { argument 136 return sessionOperations.getRestrictedTokenId(masterSid, restriction); // Not monitored at present
|
/forgerock/openam/openam-core/src/main/java/com/iplanet/dpro/session/service/ |
H A D | InternalSession.java | 895 TokenRestriction restriction = entry.getValue(); 896 this.restrictedTokensBySid.put(sid, restriction); 897 this.restrictedTokensByRestriction.put(restriction, sid); 953 * @param restriction The token restriction. 956 public SessionID addRestrictedToken(SessionID newRestrictedTokenId, TokenRestriction restriction) { argument 957 SessionID currentRestrictedTokenId = restrictedTokensByRestriction.putIfAbsent(restriction, newRestrictedTokenId); 959 restrictedTokensBySid.put(newRestrictedTokenId, restriction); 970 * @return Null indicates there is no restriction on the Session. 977 * Returns the SessionID of the restricted token for the provided restriction fo 982 getRestrictedTokenForRestriction(TokenRestriction restriction) argument [all...] |
H A D | SessionService.java | 106 * @param restriction TokenRestriction Object 110 public String getRestrictedTokenId(String masterSid, TokenRestriction restriction) throws SessionException { argument 112 return sessionOperationStrategy.getOperation(sessionID).getRestrictedTokenId(sessionID, restriction);
|
/forgerock/openam/openam-core/src/main/java/com/iplanet/dpro/session/operations/ |
H A D | SessionOperations.java | 113 * @param restriction the Token Restriction type to use 117 String getRestrictedTokenId(SessionID masterSessionId, TokenRestriction restriction) throws SessionException; argument
|
/forgerock/openam-v13/openam-core/src/main/java/org/forgerock/openam/session/ |
H A D | SessionCache.java | 270 TokenRestriction restriction = session.getRestriction(); 276 * from this agent token id. Now, the restriction context 283 if ((restriction != null) && !restriction.isSatisfied(RestrictedTokenContext.getCurrent())) {
|
/forgerock/openam/openam-core/src/main/java/org/forgerock/openam/session/ |
H A D | SessionCache.java | 230 TokenRestriction restriction = session.getRestriction(); 236 * from this agent token id. Now, the restriction context 243 if ((restriction != null) && !restriction.isSatisfied(RestrictedTokenContext.getCurrent())) {
|
/forgerock/openam/openam-core/src/test/java/org/forgerock/openam/cts/utils/ |
H A D | JSONSerialisationIntegrationTest.java | 68 InternalSession is = serialization.deserialise(getJSON("/json/basic-session-with-restriction.json"), 71 TokenRestriction restriction = is.getRestrictionForToken(new SessionID("AQIC5wM2LY4SfcyTLz6VjQ7nkFeDcEh8K5dXkIE" 73 assertThat(restriction).isNotNull().isInstanceOf(DNOrIPAddressListTokenRestriction.class); 74 assertThat(restriction.toString().equals("Fzy2GsI/O1TsXhvlVuqjqIuTG2k=")); 81 {"/json/complex-session-with-restriction-v11.json"}, 82 {"/json/complex-session-with-restriction-v12.json"}
|
/forgerock/openam/openam-core/src/main/java/com/iplanet/dpro/session/ |
H A D | Session.java | 198 private TokenRestriction restriction = null; field in class:Session 490 return restriction != null; 819 * Sets a token restriction on this session. Optional operation - specific sub-classes can throw an exception if 822 * @param restriction the restriction to apply to this session. 825 protected void setRestriction(TokenRestriction restriction) { argument 826 this.restriction = restriction; 929 return restriction;
|
/forgerock/openam-v13/openam-core/src/test/java/org/forgerock/openam/cts/utils/ |
H A D | JSONSerialisationTest.java | 122 InternalSession is = serialization.deserialise(getJSON("/json/basic-session-with-restriction.json"), 125 TokenRestriction restriction = is.getRestrictionForToken(new SessionID("AQIC5wM2LY4SfcyTLz6VjQ7nkFeDcEh8K5dXkIE" 127 assertThat(restriction).isNotNull().isInstanceOf(DNOrIPAddressListTokenRestriction.class); 128 assertThat(restriction.toString().equals("Fzy2GsI/O1TsXhvlVuqjqIuTG2k=")); 135 {"/json/complex-session-with-restriction-v11.json"}, 136 {"/json/complex-session-with-restriction-v12.json"}
|
/forgerock/openam-v13/openam-core/src/main/java/com/iplanet/dpro/session/service/ |
H A D | InternalSession.java | 1436 TokenRestriction restriction = entry.getValue(); 1437 this.restrictedTokensBySid.put(sid, restriction); 1438 this.restrictedTokensByRestriction.put(restriction, sid); 1489 * @param restriction The token restriction. 1493 SessionID addRestrictedToken(SessionID sid, TokenRestriction restriction) { argument 1494 SessionID previousValue = restrictedTokensByRestriction.putIfAbsent(restriction, sid); 1496 restrictedTokensBySid.put(sid, restriction); 1507 * @return Null indicates there is no restriction on the Session. 1513 SessionID getRestrictedTokenForRestriction(TokenRestriction restriction) { argument [all...] |
H A D | SessionService.java | 387 * @param restriction TokenRestriction Object 392 public String getRestrictedTokenId(String masterSid, TokenRestriction restriction) throws SessionException { argument 406 sessionServiceURLService.getSessionServiceURL(hostServerID), sid, restriction); 416 return doGetRestrictedTokenId(sid, restriction); 422 String doGetRestrictedTokenId(SessionID masterSid, TokenRestriction restriction) throws SessionException { argument 437 // attempt to reuse the token if restriction is the same 438 SessionID restrictedSid = session.getRestrictedTokenForRestriction(restriction); 441 SessionID previousValue = session.addRestrictedToken(restrictedSid, restriction); 619 TokenRestriction restriction = session.getRestrictionForToken(token); 620 if (restriction ! 1769 getRestrictedTokenIdRemotely(URL owner, SessionID masterSid, TokenRestriction restriction) argument 1826 handleGetRestrictedTokenIdRemotely(SessionID masterSid, TokenRestriction restriction) argument [all...] |
H A D | GetHttpSession.java | 253 TokenRestriction restriction = TokenRestrictionFactory 255 String token = sessionService.handleGetRestrictedTokenIdRemotely(sid, restriction);
|
/forgerock/openam-v13/openam-oauth2-saml2/src/main/java/org/forgerock/openam/oauth2/saml2/core/ |
H A D | Saml2GrantTypeHandler.java | 199 for (final AudienceRestriction restriction : audienceRestriction) { 200 final List<String> audiences = restriction.getAudience();
|
/forgerock/openam-v13/openam-core/src/main/java/com/iplanet/dpro/session/ |
H A D | Session.java | 237 private TokenRestriction restriction = null; field in class:Session 1126 * Sets a token restriction on this session. Optional operation - specific sub-classes can throw an exception if 1129 * @param restriction the restriction to apply to this session. 1132 protected void setRestriction(TokenRestriction restriction) { argument 1133 this.restriction = restriction; 1332 return restriction;
|
/forgerock/openam/openam-oauth2-saml2/src/main/java/org/forgerock/openam/oauth2/saml2/core/ |
H A D | Saml2GrantTypeHandler.java | 218 for (final AudienceRestriction restriction : audienceRestriction) { 219 final List<String> audiences = restriction.getAudience();
|