Searched defs:restriction (Results 1 - 21 of 21) sorted by relevance

/forgerock/openam-v13/openam-core/src/test/java/org/forgerock/openam/sso/providers/stateless/
H A DStatelessAdminRestrictionTest.java38 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 DStatelessAdminRestrictionTest.java38 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/org/forgerock/openam/sso/providers/stateless/
H A DStatelessSession.java58 protected void setRestriction(TokenRestriction restriction) { argument
H A DStatelessSSOProvider.java40 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
/forgerock/openam/openam-core/src/main/java/com/iplanet/dpro/session/monitoring/
H A DMonitoredOperations.java135 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/operations/
H A DSessionOperations.java113 * @param restriction the Token Restriction type to use
117 String getRestrictedTokenId(SessionID masterSessionId, TokenRestriction restriction) throws SessionException; argument
/forgerock/openam/openam-core/src/main/java/org/forgerock/openam/sso/providers/stateless/
H A DStatelessSession.java76 protected void setRestriction(TokenRestriction restriction) { argument
H A DStatelessSSOProvider.java61 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
/forgerock/openam/openam-core/src/main/java/com/iplanet/dpro/session/operations/strategies/
H A DClientSdkOperations.java212 public String getRestrictedTokenId(SessionID masterSid, TokenRestriction restriction) throws SessionException { argument
H A DLocalOperations.java247 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 DStatelessOperations.java143 public String getRestrictedTokenId(SessionID masterSid, TokenRestriction restriction) throws SessionException { argument
/forgerock/openam/openam-core/src/main/java/com/iplanet/dpro/session/service/
H A DSessionService.java106 * @param restriction TokenRestriction Object
110 public String getRestrictedTokenId(String masterSid, TokenRestriction restriction) throws SessionException { argument
112 return sessionOperationStrategy.getOperation(sessionID).getRestrictedTokenId(sessionID, restriction);
H A DInternalSession.java895 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...]
/forgerock/openam/openam-core/src/main/java/com/iplanet/dpro/session/
H A DSession.java198 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/main/java/com/iplanet/dpro/session/
H A DSession.java237 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-v13/openam-core/src/main/java/com/iplanet/dpro/session/service/
H A DSessionService.java387 * @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 DInternalSession.java1436 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...]
/forgerock/openam-v13/openam-core/src/main/java/com/sun/identity/authentication/service/
H A DLoginState.java359 private final StatelessAdminRestriction restriction = field in class:LoginState
1164 if (restriction.isRestricted(getUserDN())) {
6090 + ", denied due to internal users restriction ");
/forgerock/openam/openam-core/src/main/java/com/sun/identity/authentication/service/
H A DLoginState.java366 private final StatelessAdminRestriction restriction = field in class:LoginState
1122 if (restriction.isRestricted(getUserDN())) {
5251 if ((stateless && !restriction.isRestricted(getUserDN()) || isNoSession())) {
5960 + ", denied due to internal users restriction ");
/forgerock/opendj-b2.6/resource/dsml/lib/
H A Djaxb-impl.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/sun/ com/sun/xml/ com/sun/xml/bind/ ...
/forgerock/opendj2-jel-hg/resource/dsml/lib/
H A Djaxb-impl.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/sun/ com/sun/xml/ com/sun/xml/bind/ ...

Completed in 127 milliseconds