Searched refs:CollectionUtils (Results 1 - 25 of 655) sorted by relevance

1234567891011>>

/forgerock/openam-v13/openam-audit/openam-audit-configuration/src/main/java/org/forgerock/openam/audit/configuration/
H A DEventFilterDefaultValues.java20 import org.forgerock.openam.utils.CollectionUtils;
58 return CollectionUtils.asSet(DEFAULT_VALUES);
/forgerock/openam/openam-audit/openam-audit-configuration/src/main/java/org/forgerock/openam/audit/configuration/
H A DEventFilterDefaultValues.java20 import org.forgerock.openam.utils.CollectionUtils;
58 return CollectionUtils.asSet(DEFAULT_VALUES);
/forgerock/openam-v13/openam-shared/src/test/java/com/sun/identity/common/
H A DCaseInsensitiveHashSetTest.java21 import org.forgerock.openam.utils.CollectionUtils;
31 Set<String> setToRemove = CollectionUtils.asSet("inetuser", "iplanetpreferences", "three", "four", "five");
32 Set<String> setToInitialise = CollectionUtils.asSet("inetUser", "sunfederationmanagerdatastore",
47 Set<String> ciSetToRemove = CollectionUtils.asCaseInsensitiveHashSet("inetuser", "iplanetpreferences", "three",
49 Set<String> setToInitialise = CollectionUtils.asSet("inetUser", "sunfederationmanagerdatastore",
/forgerock/openam/openam-shared/src/test/java/com/sun/identity/common/
H A DCaseInsensitiveHashSetTest.java21 import org.forgerock.openam.utils.CollectionUtils;
31 Set<String> setToRemove = CollectionUtils.asSet("inetuser", "iplanetpreferences", "three", "four", "five");
32 Set<String> setToInitialise = CollectionUtils.asSet("inetUser", "sunfederationmanagerdatastore",
47 Set<String> ciSetToRemove = CollectionUtils.asCaseInsensitiveHashSet("inetuser", "iplanetpreferences", "three",
49 Set<String> setToInitialise = CollectionUtils.asSet("inetUser", "sunfederationmanagerdatastore",
/forgerock/openam-v13/openam-shared/src/test/java/org/forgerock/openam/utils/
H A DCollectionUtilsTest.java35 * Unit test for {@link CollectionUtils}.
42 Set<String> original = CollectionUtils.asSet("A", "B", "C", " D ", "E");
43 Set<String> result = CollectionUtils.removeBlankEntries(original);
51 Set<String> result = CollectionUtils.removeBlankEntries(original);
58 assertThat(CollectionUtils.removeBlankEntries(null)).isNull();
64 Set<String> original = CollectionUtils.asSet("", "A", "B", "C", "", "D", " ", " E ", "F", "");
65 Set<String> expected = CollectionUtils.asSet("A", "B", "C", "D", " E ", "F");
66 Set<String> result = CollectionUtils.removeBlankEntries(original);
78 Map<String, Set<String>> mapOfSet = CollectionUtils.transformMap(mapOfList, new MapListToSet());
97 Map<String, Integer> mapOfInt = CollectionUtils
[all...]
/forgerock/openam/openam-shared/src/test/java/org/forgerock/openam/utils/
H A DCollectionUtilsTest.java35 * Unit test for {@link CollectionUtils}.
42 Set<String> original = CollectionUtils.asSet("A", "B", "C", " D ", "E");
43 Set<String> result = CollectionUtils.removeBlankEntries(original);
51 Set<String> result = CollectionUtils.removeBlankEntries(original);
58 assertThat(CollectionUtils.removeBlankEntries(null)).isNull();
64 Set<String> original = CollectionUtils.asSet("", "A", "B", "C", "", "D", " ", " E ", "F", "");
65 Set<String> expected = CollectionUtils.asSet("A", "B", "C", "D", " E ", "F");
66 Set<String> result = CollectionUtils.removeBlankEntries(original);
78 Map<String, Set<String>> mapOfSet = CollectionUtils.transformMap(mapOfList, new MapListToSet());
97 Map<String, Integer> mapOfInt = CollectionUtils
[all...]
/forgerock/openam/openam-core/src/main/java/org/forgerock/openam/sm/validation/
H A DBase64EncodedBinaryValidator.java23 import org.forgerock.openam.utils.CollectionUtils;
41 final byte[] decoded = DatatypeConverter.parseBase64Binary(CollectionUtils.getFirstItem(values));
H A DStatelessSessionSigningAlgorithmValidator.java21 import org.forgerock.openam.utils.CollectionUtils;
54 final String value = CollectionUtils.getFirstItem(values, "NONE");
/forgerock/openam/openam-datastore/src/test/java/org/forgerock/openam/idrepo/ldap/helpers/
H A DDirectoryHelperTest.java22 import org.forgerock.openam.utils.CollectionUtils;
23 import static org.forgerock.openam.utils.CollectionUtils.*;
/forgerock/openam/openam-entitlements/src/test/java/org/forgerock/openam/entitlement/constraints/
H A DConstraintValidatorImplTest.java22 import org.forgerock.openam.utils.CollectionUtils;
54 Set<String> actions = CollectionUtils
79 Set<String> actions = CollectionUtils
102 Set<String> actions = CollectionUtils
126 Set<String> actions = CollectionUtils
146 Set<String> resources = CollectionUtils
170 Set<String> resources = CollectionUtils
195 Set<String> resources = CollectionUtils
215 Set<String> resources = CollectionUtils
238 Set<String> resources = CollectionUtils
[all...]
/forgerock/openam-v13/openam-entitlements/src/test/java/org/forgerock/openam/entitlement/constraints/
H A DConstraintValidatorImplTest.java22 import org.forgerock.openam.utils.CollectionUtils;
54 Set<String> actions = CollectionUtils
79 Set<String> actions = CollectionUtils
102 Set<String> actions = CollectionUtils
126 Set<String> actions = CollectionUtils
146 Set<String> resources = CollectionUtils
170 Set<String> resources = CollectionUtils
195 Set<String> resources = CollectionUtils
/forgerock/opendj-v3/opendj-server-legacy/src/main/java/org/opends/server/util/
H A DCollectionUtils.java32 public final class CollectionUtils class
35 private CollectionUtils() method in class:CollectionUtils
/forgerock/opendj-v3/opendj-server-legacy/src/test/java/org/opends/server/replication/server/changelog/file/
H A DSequentialDBCursor.java32 import org.opends.server.util.CollectionUtils;
50 this.msgs = CollectionUtils.newArrayList(msgs);
/forgerock/openam/openam-push-notification/src/main/java/org/forgerock/openam/services/push/dispatch/
H A DMessagePromise.java21 import org.forgerock.openam.utils.CollectionUtils;
53 return !CollectionUtils.isEmpty(predicates);
/forgerock/openam/openam-core/src/main/java/com/sun/identity/common/configuration/
H A DDuplicateKeyMapValueValidator.java23 import org.forgerock.openam.utils.CollectionUtils;
70 if (!CollectionUtils.isEmpty(values)) {
H A DMapValueValidator.java38 import org.forgerock.openam.utils.CollectionUtils;
102 if (!CollectionUtils.isEmpty(values)) {
H A DListValueValidator.java39 import org.forgerock.openam.utils.CollectionUtils;
79 if (!CollectionUtils.isEmpty(values)) {
119 if (!CollectionUtils.isEmpty(values)) {
/forgerock/openam/openam-upgrade/src/main/java/org/forgerock/openam/upgrade/helpers/
H A DSAML2ConfigHelper.java21 import org.forgerock.openam.utils.CollectionUtils;
44 String currentValue = CollectionUtils.getFirstItem(oldAttr.getDefaultValues());
/forgerock/openam-v13/openam-federation/OpenFM/src/test/java/com/sun/identity/entitlement/
H A DEntitlementTest.java32 import org.forgerock.openam.utils.CollectionUtils;
95 Entitlement entitlement = new Entitlement("http://test.example.com/*", CollectionUtils.asSet("GET", "POST"));
101 advices.put("someAdvice", CollectionUtils.asSet("property1", "property2"));
/forgerock/openam/openam-core/src/main/java/com/sun/identity/authentication/client/
H A DZeroPageLoginConfig.java22 import org.forgerock.openam.utils.CollectionUtils;
29 import static org.forgerock.openam.utils.CollectionUtils.newList;
55 Collections.unmodifiableSet(CollectionUtils.removeBlankEntries(whitelist));
/forgerock/openam/openam-federation/OpenFM/src/test/java/com/sun/identity/entitlement/
H A DEntitlementTest.java32 import org.forgerock.openam.utils.CollectionUtils;
95 Entitlement entitlement = new Entitlement("http://test.example.com/*", CollectionUtils.asSet("GET", "POST"));
101 advices.put("someAdvice", CollectionUtils.asSet("property1", "property2"));
/forgerock/openam-v13/openam-console/src/main/java/com/sun/identity/console/sts/model/
H A DSoapSTSInstanceModel.java24 import org.forgerock.openam.utils.CollectionUtils;
69 CollectionUtils.isEmpty(configurationState.get(SharedSTSConstants.WSDL_LOCATION))) {
73 if (CollectionUtils.isEmpty(configurationState.get(SharedSTSConstants.CUSTOM_SERVICE_QNAME)) ||
74 CollectionUtils.isEmpty(configurationState.get(SharedSTSConstants.CUSTOM_PORT_QNAME))) {
84 if (CollectionUtils.isEmpty(configurationState.get(SharedSTSConstants.AM_DEPLOYMENT_URL))) {
93 if (CollectionUtils.isEmpty(securityPolicyValidatedTokenSet) || StringUtils.isBlank(securityPolicyValidatedTokenSet.iterator().next())) {
117 if (CollectionUtils.isEmpty(configurationState.get(SharedSTSConstants.DELEGATION_TOKEN_VALIDATORS)) &&
118 CollectionUtils.isEmpty(configurationState.get(SharedSTSConstants.CUSTOM_DELEGATION_TOKEN_HANDLERS))) {
130 return CollectionUtils.isNotEmpty(configurationState.get(SharedSTSConstants.CUSTOM_WSDL_LOCATION));
/forgerock/openam/openam-console/src/main/java/com/sun/identity/console/sts/model/
H A DSoapSTSInstanceModel.java24 import org.forgerock.openam.utils.CollectionUtils;
69 CollectionUtils.isEmpty(configurationState.get(SharedSTSConstants.WSDL_LOCATION))) {
73 if (CollectionUtils.isEmpty(configurationState.get(SharedSTSConstants.CUSTOM_SERVICE_QNAME)) ||
74 CollectionUtils.isEmpty(configurationState.get(SharedSTSConstants.CUSTOM_PORT_QNAME))) {
84 if (CollectionUtils.isEmpty(configurationState.get(SharedSTSConstants.AM_DEPLOYMENT_URL))) {
93 if (CollectionUtils.isEmpty(securityPolicyValidatedTokenSet) || StringUtils.isBlank(securityPolicyValidatedTokenSet.iterator().next())) {
117 if (CollectionUtils.isEmpty(configurationState.get(SharedSTSConstants.DELEGATION_TOKEN_VALIDATORS)) &&
118 CollectionUtils.isEmpty(configurationState.get(SharedSTSConstants.CUSTOM_DELEGATION_TOKEN_HANDLERS))) {
130 return CollectionUtils.isNotEmpty(configurationState.get(SharedSTSConstants.CUSTOM_WSDL_LOCATION));
/forgerock/openam-v13/openam-sts/openam-client-sts/src/main/java/org/forgerock/openam/sts/soap/config/user/
H A DSoapDeploymentConfig.java26 import org.forgerock.openam.utils.CollectionUtils;
321 baseMap.put(SERVICE_QNAME, serviceQName != null ? CollectionUtils.asSet(serviceQName.toString()) : Collections.<String>emptySet());
322 baseMap.put(PORT_QNAME, portQName != null ? CollectionUtils.asSet(portQName.toString()) : Collections.<String>emptySet());
323 baseMap.put(WSDL_LOCATION, CollectionUtils.asSet(wsdlLocation));
324 baseMap.put(CUSTOM_WSDL_LOCATION, customWsdlLocation != null ? CollectionUtils.asSet(customWsdlLocation) : Collections.<String>emptySet());
325 baseMap.put(CUSTOM_PORT_QNAME, customPortQName != null ? CollectionUtils.asSet(customPortQName.toString()) : Collections.<String>emptySet());
326 baseMap.put(CUSTOM_SERVICE_QNAME, customServiceQName != null ? CollectionUtils.asSet(customServiceQName.toString()) : Collections.<String>emptySet());
327 baseMap.put(AM_DEPLOYMENT_URL, CollectionUtils.asSet(amDeploymentUrl));
345 .amDeploymentUrl(CollectionUtils.getFirstItem(attributeMap.get(AM_DEPLOYMENT_URL), null));
359 final String wsdlLocation = CollectionUtils
[all...]
/forgerock/openam/openam-sts/openam-client-sts/src/main/java/org/forgerock/openam/sts/soap/config/user/
H A DSoapDeploymentConfig.java26 import org.forgerock.openam.utils.CollectionUtils;
321 baseMap.put(SERVICE_QNAME, serviceQName != null ? CollectionUtils.asSet(serviceQName.toString()) : Collections.<String>emptySet());
322 baseMap.put(PORT_QNAME, portQName != null ? CollectionUtils.asSet(portQName.toString()) : Collections.<String>emptySet());
323 baseMap.put(WSDL_LOCATION, CollectionUtils.asSet(wsdlLocation));
324 baseMap.put(CUSTOM_WSDL_LOCATION, customWsdlLocation != null ? CollectionUtils.asSet(customWsdlLocation) : Collections.<String>emptySet());
325 baseMap.put(CUSTOM_PORT_QNAME, customPortQName != null ? CollectionUtils.asSet(customPortQName.toString()) : Collections.<String>emptySet());
326 baseMap.put(CUSTOM_SERVICE_QNAME, customServiceQName != null ? CollectionUtils.asSet(customServiceQName.toString()) : Collections.<String>emptySet());
327 baseMap.put(AM_DEPLOYMENT_URL, CollectionUtils.asSet(amDeploymentUrl));
345 .amDeploymentUrl(CollectionUtils.getFirstItem(attributeMap.get(AM_DEPLOYMENT_URL), null));
359 final String wsdlLocation = CollectionUtils
[all...]

Completed in 162 milliseconds

1234567891011>>