Searched refs:singleton (Results 1 - 25 of 1051) sorted by relevance

1234567891011>>

/forgerock/openam-v13/openam-audit/openam-audit-configuration/src/test/java/org/forgerock/openam/audit/events/handlers/
H A DJdbcAuditEventHandlerFactoryTest.java18 import static java.util.Collections.singleton;
52 configAttributes.put("enabled", singleton("true"));
53 configAttributes.put("topics", singleton("access"));
54 configAttributes.put("databaseType", singleton("h2"));
55 configAttributes.put("jdbcUrl", singleton("jdbc:h2:mem:audit"));
56 configAttributes.put("driverClassName", singleton("org.h2.Driver"));
57 configAttributes.put("username", singleton("test"));
58 configAttributes.put("password", singleton("password"));
59 configAttributes.put("autoCommit", singleton("true"));
60 configAttributes.put("connectionTimeout", singleton("3120
[all...]
H A DSyslogAuditEventHandlerFactoryTest.java18 import static java.util.Collections.singleton;
54 configAttributes.put("enabled", singleton("true"));
55 configAttributes.put("topics", singleton("access"));
56 configAttributes.put("host", singleton("www.example.com"));
57 configAttributes.put("port", singleton("1000"));
58 configAttributes.put("transportProtocol", singleton(TransportProtocol.UDP.name()));
59 configAttributes.put("connectTimeout", singleton("10"));
60 configAttributes.put("bufferingEnabled", singleton("true"));
61 configAttributes.put("facility", singleton(Facility.USER.name()));
H A DCsvAuditEventHandlerFactoryTest.java18 import static java.util.Collections.singleton;
60 configAttributes.put("enabled", singleton("true"));
61 configAttributes.put("topics", singleton("access"));
62 configAttributes.put("location", singleton(logDirName));
63 configAttributes.put("bufferingEnabled", singleton("true"));
64 configAttributes.put("bufferingAutoFlush", singleton("false"));
84 configAttributes.put("enabled", singleton("false"));
85 configAttributes.put("topics", singleton("access"));
86 configAttributes.put("location", singleton(logDirName));
87 configAttributes.put("bufferingEnabled", singleton("tru
[all...]
/forgerock/openam/openam-audit/openam-audit-configuration/src/test/java/org/forgerock/openam/audit/events/handlers/
H A DJdbcAuditEventHandlerFactoryTest.java18 import static java.util.Collections.singleton;
52 configAttributes.put("enabled", singleton("true"));
53 configAttributes.put("topics", singleton("access"));
54 configAttributes.put("databaseType", singleton("h2"));
55 configAttributes.put("jdbcUrl", singleton("jdbc:h2:mem:audit"));
56 configAttributes.put("driverClassName", singleton("org.h2.Driver"));
57 configAttributes.put("username", singleton("test"));
58 configAttributes.put("password", singleton("password"));
59 configAttributes.put("autoCommit", singleton("true"));
60 configAttributes.put("connectionTimeout", singleton("3120
[all...]
H A DSyslogAuditEventHandlerFactoryTest.java18 import static java.util.Collections.singleton;
54 configAttributes.put("enabled", singleton("true"));
55 configAttributes.put("topics", singleton("access"));
56 configAttributes.put("host", singleton("www.example.com"));
57 configAttributes.put("port", singleton("1000"));
58 configAttributes.put("transportProtocol", singleton(TransportProtocol.UDP.name()));
59 configAttributes.put("connectTimeout", singleton("10"));
60 configAttributes.put("bufferingEnabled", singleton("true"));
61 configAttributes.put("facility", singleton(Facility.USER.name()));
H A DCsvAuditEventHandlerFactoryTest.java18 import static java.util.Collections.singleton;
60 configAttributes.put("enabled", singleton("true"));
61 configAttributes.put("topics", singleton("access"));
62 configAttributes.put("location", singleton(logDirName));
63 configAttributes.put("bufferingEnabled", singleton("true"));
64 configAttributes.put("bufferingAutoFlush", singleton("false"));
84 configAttributes.put("enabled", singleton("false"));
85 configAttributes.put("topics", singleton("access"));
86 configAttributes.put("location", singleton(logDirName));
87 configAttributes.put("bufferingEnabled", singleton("tru
[all...]
H A DJmsAuditEventHandlerFactoryTest.java18 import static java.util.Collections.singleton;
59 configAttributes.put("enabled", singleton("true"));
60 configAttributes.put("topics", singleton("access"));
61 configAttributes.put("batchEnabled", singleton("false"));
62 configAttributes.put("deliveryMode", singleton(DeliveryModeConfig.NON_PERSISTENT.name()));
63 configAttributes.put("sessionMode", singleton(SessionModeConfig.AUTO.name()));
69 configAttributes.put("jndiTopicName", singleton("audit"));
70 configAttributes.put("jndiConnectionFactoryName", singleton("ConnectionFactory"));
H A DElasticsearchAuditEventHandlerFactoryTest.java18 import static java.util.Collections.singleton;
57 configAttributes.put("enabled", singleton("true"));
58 configAttributes.put("topics", singleton("access"));
59 configAttributes.put("batchSize", singleton("500"));
60 configAttributes.put("maxEvents", singleton("10000"));
/forgerock/openidm-v4/openidm-router/src/main/java/org/forgerock/openidm/router/
H A DRouteBuilder.java52 private SingletonResourceProvider singleton; field in class:RouteBuilder
117 if ((null == collection) && (null == singleton) && (null == handler)) {
129 routes.add(new RouteItem(collection, singleton, handler, mode, uriTemplate));
134 this.singleton = null;
186 this.singleton = null;
193 this.singleton = service;
200 this.singleton = null;
221 private final SingletonResourceProvider singleton; field in class:RouteBuilder.RouteItem
227 SingletonResourceProvider singleton, RequestHandler handler, RoutingMode mode,
230 this.singleton
226 RouteItem(CollectionResourceProvider collection, SingletonResourceProvider singleton, RequestHandler handler, RoutingMode mode, UriTemplate uriTemplate) argument
[all...]
/forgerock/openam/openam-cli/openam-cli-impl/src/main/java/org/forgerock/openam/cli/entitlement/
H A DModelDescriptor.java19 import static java.util.Collections.singleton;
33 RESOURCE_TYPE("resourcetypes", "uuid", singleton("20a13582-1f32-4f83-905f-f71ff4e2e00d")),
34 APPLICATION("applications", "name", singleton("sunAMDelegationService")),
/forgerock/opendj-b2.6/tests/unit-tests-testng/src/server/org/opends/server/core/networkgroups/
H A DIPConnectionCriteriaTest.java89 { Collections.singleton(matchAnything), emptyMasks, client,
91 { emptyMasks, Collections.singleton(matchAnything), client,
93 { Collections.singleton(matchAnything),
94 Collections.singleton(matchAnything), client, false },
96 { Collections.singleton(matchNothing), emptyMasks, client,
98 { emptyMasks, Collections.singleton(matchNothing), client, true },
99 { Collections.singleton(matchNothing),
100 Collections.singleton(matchNothing), client, false }, };
H A DAuthMethodConnectionCriteriaTest.java81 Collections.singleton(AllowedAuthMethod.ANONYMOUS), true },
83 Collections.singleton(AllowedAuthMethod.SIMPLE), false },
85 Collections.singleton(AllowedAuthMethod.SASL), false },
87 Collections.singleton(AllowedAuthMethod.ANONYMOUS), false },
89 Collections.singleton(AllowedAuthMethod.SIMPLE), true },
91 Collections.singleton(AllowedAuthMethod.SASL), false },
93 Collections.singleton(AllowedAuthMethod.ANONYMOUS), false },
95 Collections.singleton(AllowedAuthMethod.SIMPLE), false },
97 Collections.singleton(AllowedAuthMethod.SASL), true },
/forgerock/opendj2/tests/unit-tests-testng/src/server/org/opends/server/core/networkgroups/
H A DIPConnectionCriteriaTest.java88 { Collections.singleton(matchAnything), emptyMasks, client,
90 { emptyMasks, Collections.singleton(matchAnything), client,
92 { Collections.singleton(matchAnything),
93 Collections.singleton(matchAnything), client, false },
95 { Collections.singleton(matchNothing), emptyMasks, client,
97 { emptyMasks, Collections.singleton(matchNothing), client, true },
98 { Collections.singleton(matchNothing),
99 Collections.singleton(matchNothing), client, false }, };
H A DAuthMethodConnectionCriteriaTest.java80 Collections.singleton(AllowedAuthMethod.ANONYMOUS), true },
82 Collections.singleton(AllowedAuthMethod.SIMPLE), false },
84 Collections.singleton(AllowedAuthMethod.SASL), false },
86 Collections.singleton(AllowedAuthMethod.ANONYMOUS), false },
88 Collections.singleton(AllowedAuthMethod.SIMPLE), true },
90 Collections.singleton(AllowedAuthMethod.SASL), false },
92 Collections.singleton(AllowedAuthMethod.ANONYMOUS), false },
94 Collections.singleton(AllowedAuthMethod.SIMPLE), false },
96 Collections.singleton(AllowedAuthMethod.SASL), true },
/forgerock/opendj2.6.2/tests/unit-tests-testng/src/server/org/opends/server/core/networkgroups/
H A DIPConnectionCriteriaTest.java89 { Collections.singleton(matchAnything), emptyMasks, client,
91 { emptyMasks, Collections.singleton(matchAnything), client,
93 { Collections.singleton(matchAnything),
94 Collections.singleton(matchAnything), client, false },
96 { Collections.singleton(matchNothing), emptyMasks, client,
98 { emptyMasks, Collections.singleton(matchNothing), client, true },
99 { Collections.singleton(matchNothing),
100 Collections.singleton(matchNothing), client, false }, };
/forgerock/opendj2-hg/tests/unit-tests-testng/src/server/org/opends/server/core/networkgroups/
H A DIPConnectionCriteriaTest.java88 { Collections.singleton(matchAnything), emptyMasks, client,
90 { emptyMasks, Collections.singleton(matchAnything), client,
92 { Collections.singleton(matchAnything),
93 Collections.singleton(matchAnything), client, false },
95 { Collections.singleton(matchNothing), emptyMasks, client,
97 { emptyMasks, Collections.singleton(matchNothing), client, true },
98 { Collections.singleton(matchNothing),
99 Collections.singleton(matchNothing), client, false }, };
/forgerock/opendj2-jel-hg/tests/unit-tests-testng/src/server/org/opends/server/core/networkgroups/
H A DIPConnectionCriteriaTest.java89 { Collections.singleton(matchAnything), emptyMasks, client,
91 { emptyMasks, Collections.singleton(matchAnything), client,
93 { Collections.singleton(matchAnything),
94 Collections.singleton(matchAnything), client, false },
96 { Collections.singleton(matchNothing), emptyMasks, client,
98 { emptyMasks, Collections.singleton(matchNothing), client, true },
99 { Collections.singleton(matchNothing),
100 Collections.singleton(matchNothing), client, false }, };
/forgerock/openam-v13/openam-upgrade/src/main/java/org/forgerock/openam/upgrade/helpers/
H A DAuditUpgradeHelper.java18 import static java.util.Collections.singleton;
41 return updateDefaultValues(newAttr, singleton("false"));
/forgerock/openam/openam-upgrade/src/main/java/org/forgerock/openam/upgrade/helpers/
H A DAuditUpgradeHelper.java18 import static java.util.Collections.singleton;
41 return updateDefaultValues(newAttr, singleton("false"));
/forgerock/opendj-b2.6/src/server/org/opends/server/schema/
H A DKeywordEqualityMatchingRule.java60 return Collections.singleton(getName());
/forgerock/opendj2/src/server/org/opends/server/schema/
H A DKeywordEqualityMatchingRule.java59 return Collections.singleton(getName());
/forgerock/opendj2.6.2/src/server/org/opends/server/schema/
H A DKeywordEqualityMatchingRule.java60 return Collections.singleton(getName());
/forgerock/opendj2-jel-hg/src/server/org/opends/server/schema/
H A DKeywordEqualityMatchingRule.java60 return Collections.singleton(getName());
/forgerock/opendj2-hg/src/server/org/opends/server/schema/
H A DKeywordEqualityMatchingRule.java59 return Collections.singleton(getName());
/forgerock/openam/openam-core/src/test/java/org/forgerock/openam/sm/validation/
H A DBase64EncodedBinaryValidatorTest.java54 assertThat(testValidator.validate(Collections.singleton("*&(*£&(&$£$£(**!%£"))).isFalse();
59 assertThat(testValidator.validate(Collections.singleton(Base64.encode(new byte[15])))).isFalse();
64 assertThat(testValidator.validate(Collections.singleton(Base64.encode(new byte[16])))).isTrue();
69 assertThat(testValidator.validate(Collections.singleton(Base64.encode(new byte[17])))).isTrue();

Completed in 300 milliseconds

1234567891011>>