Searched defs:second (Results 1 - 25 of 58) sorted by relevance

123

/forgerock/openam-v13/openam-core/src/test/java/org/forgerock/openam/cts/
H A DTokenTestUtils.java123 * @param second Non null.
126 private static boolean compareValue(Object first, Object second) { argument
127 if (first.equals(second)) {
131 if (first.toString().equals(second.toString())) {
/forgerock/openam/openam-core/src/test/java/org/forgerock/openam/cts/
H A DTokenTestUtils.java124 * @param second Non null.
127 private static boolean compareValue(Object first, Object second) { argument
128 if (first.equals(second)) {
132 if (first.toString().equals(second.toString())) {
/forgerock/openam-v13/openam-oauth2-common/oauth2-core/src/main/java/org/forgerock/oauth2/core/
H A DAuthorizationTokenIssuer.java196 public int compare(String first, String second) { argument
199 } else if (second.equals(key)) {
/forgerock/openam-v13/openam-entitlements/src/test/java/com/sun/identity/entitlement/xacml3/
H A DAssertions.java39 public static void assertAllPrivilegesEquivalent(Collection<Privilege> first, Collection<Privilege> second) { argument
40 assertThat(first.size()).isEqualTo(second.size());
46 sortedSecond.addAll(second);
55 public static void assertPrivilegesEquivalent(Privilege first, Privilege second) { argument
56 if (first == null || second == null) {
57 assertThat(first).isEqualTo(second);
60 assertThat(first.getName()).isEqualTo(second.getName());
61 assertThat(first.getDescription()).isEqualTo(second.getDescription());
62 assertThat(first.getCreatedBy()).isEqualTo(second.getCreatedBy());
63 assertThat(first.getLastModifiedBy()).isEqualTo(second
75 assertEntitlementsEquivalent(Entitlement first, Entitlement second) argument
89 assertEntitlementConditionsEquivalent(EntitlementCondition first, EntitlementCondition second) argument
98 assertEntitlementSubjectsEquivalent(EntitlementSubject first, EntitlementSubject second) argument
108 assertAllResourceAttributesEquivalent( Collection<ResourceAttribute> first, Collection<ResourceAttribute> second) argument
127 assertResourceAttributesEquivalent(ResourceAttribute first, ResourceAttribute second) argument
137 assertReferralPrivilegesEquivalent(ReferralPrivilege first, ReferralPrivilege second) argument
158 compare(ResourceAttribute first, ResourceAttribute second) argument
166 compare(Privilege first, Privilege second) argument
[all...]
H A DXACMLSchemaFactoryTest.java176 * @param ra2 the second specified resource attribute object
185 * @param ra2 the second specified resource attribute object
205 * @param ae2 the second advice expression object
214 * @param ae2 the second advice expression object
243 * @param two The second set of strings
287 * @param list2 The second list.
313 * @param second Second attribute assignment expression to check
317 AttributeAssignmentExpression second) {
318 if (first == null && second == null) {
321 if (first == null || second
316 checkEqualAttributeAssignmentExpressions(AttributeAssignmentExpression first, AttributeAssignmentExpression second) argument
349 checkEqualAttributeValues(AttributeValue first, AttributeValue second) argument
[all...]
/forgerock/openam/openam-oauth2/src/main/java/org/forgerock/oauth2/core/
H A DAuthorizationTokenIssuer.java211 public int compare(String first, String second) { argument
214 } else if (second.equals(key)) {
/forgerock/openam/openam-entitlements/src/test/java/com/sun/identity/entitlement/xacml3/
H A DAssertions.java40 public static void assertAllPrivilegesEquivalent(Collection<Privilege> first, Collection<Privilege> second) argument
42 assertThat(first.size()).isEqualTo(second.size());
48 sortedSecond.addAll(second);
57 public static void assertPrivilegesEquivalent(Privilege first, Privilege second) argument
59 if (first == null || second == null) {
60 assertThat(first).isEqualTo(second);
63 assertThat(first.getName()).isEqualTo(second.getName());
64 assertThat(first.getDescription()).isEqualTo(second.getDescription());
65 assertThat(first.getCreatedBy()).isEqualTo(second.getCreatedBy());
66 assertThat(first.getLastModifiedBy()).isEqualTo(second
78 assertEntitlementsEquivalent(Entitlement first, Entitlement second) argument
92 assertEntitlementConditionsEquivalent(EntitlementCondition first, EntitlementCondition second) argument
101 assertEntitlementSubjectsEquivalent(EntitlementSubject first, EntitlementSubject second) argument
112 assertAllResourceAttributesEquivalent( Collection<ResourceAttribute> first, Collection<ResourceAttribute> second) argument
131 assertResourceAttributesEquivalent(ResourceAttribute first, ResourceAttribute second) argument
141 assertReferralPrivilegesEquivalent(ReferralPrivilege first, ReferralPrivilege second) argument
162 compare(ResourceAttribute first, ResourceAttribute second) argument
170 compare(Privilege first, Privilege second) argument
[all...]
H A DXACMLSchemaFactoryTest.java176 * @param ra2 the second specified resource attribute object
185 * @param ra2 the second specified resource attribute object
205 * @param ae2 the second advice expression object
214 * @param ae2 the second advice expression object
243 * @param two The second set of strings
287 * @param list2 The second list.
313 * @param second Second attribute assignment expression to check
317 AttributeAssignmentExpression second) {
318 if (first == null && second == null) {
321 if (first == null || second
316 checkEqualAttributeAssignmentExpressions(AttributeAssignmentExpression first, AttributeAssignmentExpression second) argument
349 checkEqualAttributeValues(AttributeValue first, AttributeValue second) argument
[all...]
/forgerock/opendj-b2.6/src/server/org/opends/server/schema/
H A DGeneralizedTimeSyntax.java62 * somewhat flexible, and may omit the minute and second information, or may
63 * include sub-second information. It may also replace "Z" with a time zone
424 int second = 0;
1009 calendar.set(year, month, day, hour, minute, second);
1047 calendar.set(year, month, day, hour, minute, second);
1077 minute, second, 3600000);
1088 // and 60 (for the second, including a possible leap second), a letter 'Z'
1111 second = 10 * (s1 - '0');
1119 second
1395 finishDecodingFraction(String value, int startPos, int year, int month, int day, int hour, int minute, int second, int multiplier) argument
[all...]
/forgerock/opendj2/src/server/org/opends/server/schema/
H A DGeneralizedTimeSyntax.java61 * somewhat flexible, and may omit the minute and second information, or may
62 * include sub-second information. It may also replace "Z" with a time zone
423 int second = 0;
1008 calendar.set(year, month, day, hour, minute, second);
1046 calendar.set(year, month, day, hour, minute, second);
1076 minute, second, 3600000);
1087 // and 60 (for the second, including a possible leap second), a letter 'Z'
1110 second = 10 * (s1 - '0');
1118 second
1394 finishDecodingFraction(String value, int startPos, int year, int month, int day, int hour, int minute, int second, int multiplier) argument
[all...]
/forgerock/opendj2.6.2/src/server/org/opends/server/schema/
H A DGeneralizedTimeSyntax.java62 * somewhat flexible, and may omit the minute and second information, or may
63 * include sub-second information. It may also replace "Z" with a time zone
424 int second = 0;
1009 calendar.set(year, month, day, hour, minute, second);
1047 calendar.set(year, month, day, hour, minute, second);
1077 minute, second, 3600000);
1088 // and 60 (for the second, including a possible leap second), a letter 'Z'
1111 second = 10 * (s1 - '0');
1119 second
1395 finishDecodingFraction(String value, int startPos, int year, int month, int day, int hour, int minute, int second, int multiplier) argument
[all...]
/forgerock/opendj2-jel-hg/src/server/org/opends/server/schema/
H A DGeneralizedTimeSyntax.java62 * somewhat flexible, and may omit the minute and second information, or may
63 * include sub-second information. It may also replace "Z" with a time zone
424 int second = 0;
1009 calendar.set(year, month, day, hour, minute, second);
1047 calendar.set(year, month, day, hour, minute, second);
1077 minute, second, 3600000);
1088 // and 60 (for the second, including a possible leap second), a letter 'Z'
1111 second = 10 * (s1 - '0');
1119 second
1395 finishDecodingFraction(String value, int startPos, int year, int month, int day, int hour, int minute, int second, int multiplier) argument
[all...]
/forgerock/opendj2-hg/src/server/org/opends/server/schema/
H A DGeneralizedTimeSyntax.java61 * somewhat flexible, and may omit the minute and second information, or may
62 * include sub-second information. It may also replace "Z" with a time zone
423 int second = 0;
1008 calendar.set(year, month, day, hour, minute, second);
1046 calendar.set(year, month, day, hour, minute, second);
1076 minute, second, 3600000);
1087 // and 60 (for the second, including a possible leap second), a letter 'Z'
1110 second = 10 * (s1 - '0');
1118 second
1394 finishDecodingFraction(String value, int startPos, int year, int month, int day, int hour, int minute, int second, int multiplier) argument
[all...]
/forgerock/openam-v13/openam-authentication/deviceprint/module/src/main/java/org/forgerock/openam/authentication/modules/deviceprint/comparators/
H A DColocationComparator.java145 * @param second The y co-ordinates.
148 private boolean atLeastOneNull(Double first, Double second) { argument
149 return first == null || second == null;
/forgerock/opendj-v3/opendj-server-legacy/src/main/java/org/opends/server/schema/
H A DGeneralizedTimeSyntax.java53 * somewhat flexible, and may omit the minute and second information, or may
54 * include sub-second information. It may also replace "Z" with a time zone
261 int second = 0;
843 calendar.set(year, month, day, hour, minute, second);
874 calendar.set(year, month, day, hour, minute, second);
898 minute, second, 3600000);
907 // and 60 (for the second, including a possible leap second), a letter 'Z'
928 second = 10 * (s1 - '0');
936 second
1194 finishDecodingFraction(String value, int startPos, int year, int month, int day, int hour, int minute, int second, int multiplier) argument
[all...]
/forgerock/opendj-b2.6/tests/unit-tests-testng/src/server/org/opends/server/types/
H A DTestRDN.java626 * @param second
634 public void testEquality(String first, String second, int result) argument
637 RDN rdn2 = RDN.decode(second);
641 + "> and <" + second + ">");
644 + "> and <" + second + ">");
655 * @param second
663 public void testHashCode(String first, String second, int result) argument
666 RDN rdn2 = RDN.decode(second);
673 fail("Hash codes for <" + first + "> and <" + second
678 fail("Hash codes for <" + first + "> and <" + second
699 testCompareTo(String first, String second, int result) argument
[all...]
H A DTestDN.java1171 * @param second
1179 public void testEquality(String first, String second, int result) argument
1182 DN dn2 = DN.decode(second);
1186 + "> and <" + second + ">");
1189 + "> and <" + second + ">");
1215 * @param second
1223 public void testHashCode(String first, String second, int result) argument
1226 DN dn2 = DN.decode(second);
1233 fail("Hash codes for <" + first + "> and <" + second
1238 fail("Hash codes for <" + first + "> and <" + second
1259 testCompareTo(String first, String second, int result) argument
[all...]
/forgerock/opendj2/tests/unit-tests-testng/src/server/org/opends/server/types/
H A DTestRDN.java625 * @param second
633 public void testEquality(String first, String second, int result) argument
636 RDN rdn2 = RDN.decode(second);
640 + "> and <" + second + ">");
643 + "> and <" + second + ">");
654 * @param second
662 public void testHashCode(String first, String second, int result) argument
665 RDN rdn2 = RDN.decode(second);
672 fail("Hash codes for <" + first + "> and <" + second
677 fail("Hash codes for <" + first + "> and <" + second
698 testCompareTo(String first, String second, int result) argument
[all...]
H A DTestDN.java1170 * @param second
1178 public void testEquality(String first, String second, int result) argument
1181 DN dn2 = DN.decode(second);
1185 + "> and <" + second + ">");
1188 + "> and <" + second + ">");
1214 * @param second
1222 public void testHashCode(String first, String second, int result) argument
1225 DN dn2 = DN.decode(second);
1232 fail("Hash codes for <" + first + "> and <" + second
1237 fail("Hash codes for <" + first + "> and <" + second
1258 testCompareTo(String first, String second, int result) argument
[all...]
/forgerock/opendj2.6.2/tests/unit-tests-testng/src/server/org/opends/server/types/
H A DTestRDN.java626 * @param second
634 public void testEquality(String first, String second, int result) argument
637 RDN rdn2 = RDN.decode(second);
641 + "> and <" + second + ">");
644 + "> and <" + second + ">");
655 * @param second
663 public void testHashCode(String first, String second, int result) argument
666 RDN rdn2 = RDN.decode(second);
673 fail("Hash codes for <" + first + "> and <" + second
678 fail("Hash codes for <" + first + "> and <" + second
699 testCompareTo(String first, String second, int result) argument
[all...]
H A DTestDN.java1171 * @param second
1179 public void testEquality(String first, String second, int result) argument
1182 DN dn2 = DN.decode(second);
1186 + "> and <" + second + ">");
1189 + "> and <" + second + ">");
1215 * @param second
1223 public void testHashCode(String first, String second, int result) argument
1226 DN dn2 = DN.decode(second);
1233 fail("Hash codes for <" + first + "> and <" + second
1238 fail("Hash codes for <" + first + "> and <" + second
1259 testCompareTo(String first, String second, int result) argument
[all...]
/forgerock/opendj2-hg/tests/unit-tests-testng/src/server/org/opends/server/types/
H A DTestRDN.java625 * @param second
633 public void testEquality(String first, String second, int result) argument
636 RDN rdn2 = RDN.decode(second);
640 + "> and <" + second + ">");
643 + "> and <" + second + ">");
654 * @param second
662 public void testHashCode(String first, String second, int result) argument
665 RDN rdn2 = RDN.decode(second);
672 fail("Hash codes for <" + first + "> and <" + second
677 fail("Hash codes for <" + first + "> and <" + second
698 testCompareTo(String first, String second, int result) argument
[all...]
H A DTestDN.java1170 * @param second
1178 public void testEquality(String first, String second, int result) argument
1181 DN dn2 = DN.decode(second);
1185 + "> and <" + second + ">");
1188 + "> and <" + second + ">");
1214 * @param second
1222 public void testHashCode(String first, String second, int result) argument
1225 DN dn2 = DN.decode(second);
1232 fail("Hash codes for <" + first + "> and <" + second
1237 fail("Hash codes for <" + first + "> and <" + second
1258 testCompareTo(String first, String second, int result) argument
[all...]
/forgerock/opendj2-jel-hg/tests/unit-tests-testng/src/server/org/opends/server/types/
H A DTestRDN.java626 * @param second
634 public void testEquality(String first, String second, int result) argument
637 RDN rdn2 = RDN.decode(second);
641 + "> and <" + second + ">");
644 + "> and <" + second + ">");
655 * @param second
663 public void testHashCode(String first, String second, int result) argument
666 RDN rdn2 = RDN.decode(second);
673 fail("Hash codes for <" + first + "> and <" + second
678 fail("Hash codes for <" + first + "> and <" + second
699 testCompareTo(String first, String second, int result) argument
[all...]
/forgerock/opendj-v3/opendj-server-legacy/src/test/java/org/opends/server/types/
H A DTestRDN.java562 * @param second
570 public void testEquality(String first, String second, int result) argument
573 RDN rdn2 = RDN.decode(second);
577 "RDN equality for <" + first + "> and <" + second + ">");
580 "RDN equality for <" + first + "> and <" + second + ">");
591 * @param second
599 public void testHashCode(String first, String second, int result) argument
602 RDN rdn2 = RDN.decode(second);
608 assertEquals(h1, h2, "Hash codes for <" + first + "> and <" + second
611 assertNotEquals(h1, h2, "Hash codes for <" + first + "> and <" + second
631 testCompareTo(String first, String second, int result) argument
[all...]

Completed in 2559 milliseconds

123