Searched refs:TokenRestriction (Results 1 - 25 of 40) sorted by relevance

12

/forgerock/openam-v13/openam-core/src/main/java/org/forgerock/openam/dpro/session/
H A DNoOpTokenRestriction.java27 import com.iplanet.dpro.session.TokenRestriction;
30 * A simple TokenRestriction implementation which will always satisfy the restriction.
33 public class NoOpTokenRestriction implements TokenRestriction {
/forgerock/openam/openam-core/src/main/java/org/forgerock/openam/dpro/session/
H A DNoOpTokenRestriction.java27 import com.iplanet.dpro.session.TokenRestriction;
30 * A simple TokenRestriction implementation which will always satisfy the restriction.
33 public class NoOpTokenRestriction implements TokenRestriction {
/forgerock/openam-v13/openam-federation/OpenFM/src/main/java/com/iplanet/services/cdc/
H A DSPValidator.java32 import com.iplanet.dpro.session.TokenRestriction;
46 TokenRestriction validateAndGetRestriction(
/forgerock/openam-v13/openam-core/src/main/java/com/iplanet/dpro/session/
H A DTokenRestrictionFactory.java50 public static String marshal(TokenRestriction tr) throws Exception {
67 public static TokenRestriction unmarshal(String data) throws Exception {
H A DTokenRestriction.java25 * $Id: TokenRestriction.java,v 1.2 2008/06/25 05:41:29 qcheng Exp $
45 public interface TokenRestriction extends Serializable { interface in inherits:Serializable
/forgerock/openam-v13/openam-core/src/main/java/com/sun/identity/session/util/
H A DPrincipalTokenRestriction.java35 import com.iplanet.dpro.session.TokenRestriction;
40 * implementing the TokenRestriction interface provides methods to check and
43 public class PrincipalTokenRestriction implements TokenRestriction {
/forgerock/openam/openam-core/src/main/java/com/sun/identity/session/util/
H A DPrincipalTokenRestriction.java35 import com.iplanet.dpro.session.TokenRestriction;
40 * implementing the TokenRestriction interface provides methods to check and
43 public class PrincipalTokenRestriction implements TokenRestriction {
/forgerock/openam/openam-core/src/main/java/com/iplanet/dpro/session/
H A DTokenRestriction.java25 * $Id: TokenRestriction.java,v 1.2 2008/06/25 05:41:29 qcheng Exp $
45 public interface TokenRestriction extends Serializable { interface in inherits:Serializable
H A DTokenRestrictionFactory.java48 * Factory for creating {@link TokenRestriction} instances.
62 public static String marshal(TokenRestriction tokenRestriction) throws Exception {
78 public static TokenRestriction unmarshal(String data) throws Exception {
/forgerock/openam-v13/openam-core/src/main/java/org/forgerock/openam/sso/providers/stateless/
H A DStatelessSession.java25 import com.iplanet.dpro.session.TokenRestriction;
58 protected void setRestriction(TokenRestriction restriction) {
/forgerock/openam-v13/openam-core/src/test/java/com/iplanet/dpro/session/utils/
H A DSessionInfoFactoryTest.java26 import com.iplanet.dpro.session.TokenRestriction;
52 given(mockSession.getRestrictionForToken(any(SessionID.class))).willReturn(mock(TokenRestriction.class));
67 given(mockSession.getRestrictionForToken(any(SessionID.class))).willReturn(mock(TokenRestriction.class));
84 given(mockSession.getRestrictionForToken(any(SessionID.class))).willReturn(mock(TokenRestriction.class));
110 private static class MockTokenRestriction implements TokenRestriction {
/forgerock/openam/openam-core/src/test/java/com/iplanet/dpro/session/utils/
H A DSessionInfoFactoryTest.java31 import com.iplanet.dpro.session.TokenRestriction;
54 given(mockSession.getRestrictionForToken(any(SessionID.class))).willReturn(mock(TokenRestriction.class));
69 given(mockSession.getRestrictionForToken(any(SessionID.class))).willReturn(mock(TokenRestriction.class));
85 given(mockSession.getRestrictionForToken(any(SessionID.class))).willReturn(mock(TokenRestriction.class));
110 private static class MockTokenRestriction implements TokenRestriction {
/forgerock/openam-v13/openam-core/src/main/java/com/iplanet/dpro/session/utils/
H A DSessionInfoFactory.java22 import com.iplanet.dpro.session.TokenRestriction;
96 * @throws SessionException If there was an error storing the TokenRestriction on the SessionInfo.
104 TokenRestriction restriction = internalSession.getRestrictionForToken(sid);
/forgerock/openam/openam-core/src/main/java/com/iplanet/dpro/session/operations/
H A DSessionOperations.java26 import com.iplanet.dpro.session.TokenRestriction;
117 String getRestrictedTokenId(SessionID masterSessionId, TokenRestriction restriction) throws SessionException;
/forgerock/openam/openam-core/src/main/java/com/iplanet/dpro/session/utils/
H A DSessionInfoFactory.java25 import com.iplanet.dpro.session.TokenRestriction;
98 * @throws SessionException If there was an error storing the TokenRestriction on the SessionInfo.
106 TokenRestriction restriction = internalSession.getRestrictionForToken(sid);
/forgerock/openam/openam-core/src/main/java/org/forgerock/openam/sso/providers/stateless/
H A DStatelessSession.java32 import com.iplanet.dpro.session.TokenRestriction;
76 protected void setRestriction(TokenRestriction restriction) {
/forgerock/openam/openam-core/src/test/java/com/iplanet/dpro/session/
H A DTokenRestrictionFactoryTest.java53 TokenRestriction deserialisedTokenRestriction = TokenRestrictionFactory.unmarshal(serialisedTokenRestriction);
/forgerock/openam/openam-core/src/main/java/com/iplanet/dpro/session/service/
H A DInternalSession.java68 import com.iplanet.dpro.session.TokenRestriction;
158 private final ConcurrentMap<SessionID, TokenRestriction> restrictedTokensBySid = new ConcurrentHashMap<>();
160 private transient final ConcurrentMap<TokenRestriction, SessionID> restrictedTokensByRestriction =
892 private void setRestrictedTokensBySid(ConcurrentMap<SessionID, TokenRestriction> restrictedTokensBySid) {
893 for (Map.Entry<SessionID, TokenRestriction> entry : restrictedTokensBySid.entrySet()) {
895 TokenRestriction restriction = entry.getValue();
954 * @return The restricted token id for this TokenRestriction.
956 public SessionID addRestrictedToken(SessionID newRestrictedTokenId, TokenRestriction restriction) {
967 * Returns the TokenRestriction for the given SessionID.
972 public TokenRestriction getRestrictionForToke
[all...]
/forgerock/openam/openam-core/src/main/java/com/iplanet/dpro/session/monitoring/
H A DMonitoredOperations.java27 import com.iplanet.dpro.session.TokenRestriction;
135 public String getRestrictedTokenId(SessionID masterSid, TokenRestriction restriction) throws SessionException {
/forgerock/openam-v13/openam-core/src/main/java/com/iplanet/dpro/session/service/
H A DInternalSession.java39 import com.iplanet.dpro.session.TokenRestriction;
168 private final ConcurrentMap<SessionID, TokenRestriction> restrictedTokensBySid =
169 new ConcurrentHashMap<SessionID, TokenRestriction>();
171 private transient final ConcurrentMap<TokenRestriction, SessionID> restrictedTokensByRestriction =
172 new ConcurrentHashMap<TokenRestriction, SessionID>();
1433 private void setRestrictedTokensBySid(ConcurrentMap<SessionID, TokenRestriction> restrictedTokensBySid) {
1434 for (Map.Entry<SessionID, TokenRestriction> entry : restrictedTokensBySid.entrySet()) {
1436 TokenRestriction restriction = entry.getValue();
1490 * @return The existing session ID instance if this TokenRestriction was already mapped to a session ID,
1493 SessionID addRestrictedToken(SessionID sid, TokenRestriction restrictio
[all...]
/forgerock/openam/openam-core/src/main/java/org/forgerock/openam/agent/
H A DTokenRestrictionResolver.java40 import com.iplanet.dpro.session.TokenRestriction;
75 * @param tokenRestrictionFactory Factory for creating {@code TokenRestriction} instances.
91 * @return The {@code TokenRestriction}.
96 public TokenRestriction resolve(
116 * @return The {@code TokenRestriction}.
121 public TokenRestriction resolve(
348 private TokenRestriction createTokenRestriction(AgentInfo agentInfo) throws SMSException, SSOException {
/forgerock/openam/openam-core/src/test/java/org/forgerock/openam/agent/
H A DTokenRestrictionResolverTest.java37 import com.iplanet.dpro.session.TokenRestriction;
203 final TokenRestriction tokenRestriction = tokenRestrictionResolver.resolve(
228 final TokenRestriction tokenRestriction = tokenRestrictionResolver.resolve(
258 final TokenRestriction tokenRestriction = tokenRestrictionResolver.resolve(
/forgerock/openam-v13/openam-core/src/main/java/org/forgerock/openam/session/
H A DSessionCache.java25 import com.iplanet.dpro.session.TokenRestriction;
270 TokenRestriction restriction = session.getRestriction();
/forgerock/openam/openam-core/src/main/java/com/iplanet/dpro/session/operations/strategies/
H A DClientSdkOperations.java35 import com.iplanet.dpro.session.TokenRestriction;
212 public String getRestrictedTokenId(SessionID masterSid, TokenRestriction restriction) throws SessionException {
H A DStatelessOperations.java40 import com.iplanet.dpro.session.TokenRestriction;
143 public String getRestrictedTokenId(SessionID masterSid, TokenRestriction restriction) throws SessionException {

Completed in 99 milliseconds

12