Searched defs:scheme (Results 1 - 25 of 77) sorted by relevance

1234

/forgerock/openidm-v4/openidm-util/src/test/java/org/forgerock/openidm/osgi/
H A DOsgiNameTest.java54 private void validateStringName(String scheme, String path, String... elements) argument
59 builder.append(scheme);
78 Assert.assertEquals(scheme, n.getScheme());
/forgerock/openam-v13/openam-core/src/main/java/com/sun/identity/common/
H A DRequestUtils.java79 * @param scheme Protocol of request. @param host Host name of request.
82 public static String getRedirectProtocol(String scheme, String host) { argument
83 String protocol = scheme;
/forgerock/openam-v13/openam-core/src/main/java/org/forgerock/openam/services/baseurl/
H A DRequestValuesBaseURLProvider.java29 * A {@link BaseURLProvider} implementation that uses the scheme, serverName and serverPort properties of
54 private String getBaseUrl(String scheme, String host, int port) { argument
55 return scheme + "://" + host + ":" + port;
/forgerock/openam/openam-core/src/main/java/com/sun/identity/common/
H A DRequestUtils.java79 * @param scheme Protocol of request. @param host Host name of request.
82 public static String getRedirectProtocol(String scheme, String host) { argument
83 String protocol = scheme;
/forgerock/openam/openam-core/src/main/java/org/forgerock/openam/services/baseurl/
H A DRequestValuesBaseURLProvider.java29 * A {@link BaseURLProvider} implementation that uses the scheme, serverName and serverPort properties of
54 private String getBaseUrl(String scheme, String host, int port) { argument
55 return scheme + "://" + host + ":" + port;
/forgerock/opendj2/tests/unit-tests-testng/src/server/org/opends/server/extensions/
H A DPasswordStorageSchemeTestCase.java61 /** The configuration entry for this password storage scheme. */
66 * password storage scheme.
73 * Creates a new instance of this password storage scheme test case with the
109 * scheme.
112 * scheme.
152 * Creates an instance of the password storage scheme, uses it to encode the
166 PasswordStorageScheme<?> scheme) throws Exception
168 assertNotNull(scheme);
169 assertNotNull(scheme.getStorageSchemeName());
171 ByteString encodedPassword = scheme
165 testStorageScheme(ByteString plaintext, PasswordStorageScheme<?> scheme) argument
264 testSettingEncodedPassword(ByteString plainPassword, PasswordStorageScheme<?> scheme) argument
[all...]
/forgerock/opendj2-hg/tests/unit-tests-testng/src/server/org/opends/server/extensions/
H A DPasswordStorageSchemeTestCase.java61 /** The configuration entry for this password storage scheme. */
66 * password storage scheme.
73 * Creates a new instance of this password storage scheme test case with the
109 * scheme.
112 * scheme.
152 * Creates an instance of the password storage scheme, uses it to encode the
166 PasswordStorageScheme<?> scheme) throws Exception
168 assertNotNull(scheme);
169 assertNotNull(scheme.getStorageSchemeName());
171 ByteString encodedPassword = scheme
165 testStorageScheme(ByteString plaintext, PasswordStorageScheme<?> scheme) argument
264 testSettingEncodedPassword(ByteString plainPassword, PasswordStorageScheme<?> scheme) argument
[all...]
/forgerock/opendj-v3/opendj-server-legacy/src/test/java/org/opends/server/extensions/
H A DPasswordStorageSchemeTestCase.java59 /** The configuration entry for this password storage scheme. */
64 * password storage scheme.
71 * Creates a new instance of this password storage scheme test case with the
107 * scheme.
110 * scheme.
150 * Creates an instance of the password storage scheme, uses it to encode the
164 PasswordStorageScheme<?> scheme) throws Exception
166 assertNotNull(scheme);
167 assertNotNull(scheme.getStorageSchemeName());
169 ByteString encodedPassword = scheme
163 testStorageScheme(ByteString plaintext, PasswordStorageScheme<?> scheme) argument
258 testSettingEncodedPassword(ByteString plainPassword, PasswordStorageScheme<?> scheme) argument
[all...]
/forgerock/openam/openam-core/src/main/java/org/forgerock/openam/authentication/callbacks/helpers/
H A DQRCallbackBuilder.java36 private String scheme; field in class:QRCallbackBuilder
49 Reject.ifNull(scheme, "uri scheme is required");
70 * Set the uri scheme to use for the QR callback.
71 * @param scheme the scheme to use in the QR callback uri
74 public QRCallbackBuilder withUriScheme(String scheme) { argument
75 this.scheme = scheme;
122 sb.append(scheme)
[all...]
/forgerock/openam/openam-core-rest/src/main/java/org/forgerock/openam/core/rest/devices/services/
H A DEncryptedDeviceStorage.java107 * @param scheme The key of the data in the options map to use.
115 protected DeviceSerialisation getDeviceSerialisationStrategy(String scheme, String keystoreFile, String keystorePass, argument
119 SupportedEncryptionScheme.valueOf(CollectionHelper.getMapAttr(options, scheme,
/forgerock/opendj-b2.6/src/server/org/opends/server/types/
H A DLDAPURL.java49 * of an LDAP URL, including the scheme, host, port, base DN,
67 * The default scheme that will be used if none is provided.
131 // The scheme (i.e., protocol) for this LDAP URL.
132 private String scheme; field in class:LDAPURL
139 * @param scheme The scheme (i.e., protocol) for this LDAP
151 public LDAPURL(String scheme, String host, int port, argument
162 if (scheme == null)
164 this.scheme = "ldap";
168 this.scheme
242 LDAPURL(String scheme, String host, int port, DN baseDN, LinkedHashSet<String> attributes, SearchScope scope, SearchFilter filter, LinkedList<String> extensions) argument
995 setScheme(String scheme) argument
[all...]
/forgerock/opendj2/src/server/org/opends/server/types/
H A DLDAPURL.java44 * of an LDAP URL, including the scheme, host, port, base DN,
62 * The default scheme that will be used if none is provided.
126 // The scheme (i.e., protocol) for this LDAP URL.
127 private String scheme; field in class:LDAPURL
134 * @param scheme The scheme (i.e., protocol) for this LDAP
146 public LDAPURL(String scheme, String host, int port, argument
157 if (scheme == null)
159 this.scheme = "ldap";
163 this.scheme
237 LDAPURL(String scheme, String host, int port, DN baseDN, LinkedHashSet<String> attributes, SearchScope scope, SearchFilter filter, LinkedList<String> extensions) argument
972 setScheme(String scheme) argument
[all...]
/forgerock/opendj2.6.2/src/server/org/opends/server/types/
H A DLDAPURL.java49 * of an LDAP URL, including the scheme, host, port, base DN,
67 * The default scheme that will be used if none is provided.
131 // The scheme (i.e., protocol) for this LDAP URL.
132 private String scheme; field in class:LDAPURL
139 * @param scheme The scheme (i.e., protocol) for this LDAP
151 public LDAPURL(String scheme, String host, int port, argument
162 if (scheme == null)
164 this.scheme = "ldap";
168 this.scheme
242 LDAPURL(String scheme, String host, int port, DN baseDN, LinkedHashSet<String> attributes, SearchScope scope, SearchFilter filter, LinkedList<String> extensions) argument
995 setScheme(String scheme) argument
[all...]
/forgerock/opendj2-jel-hg/src/server/org/opends/server/types/
H A DLDAPURL.java49 * of an LDAP URL, including the scheme, host, port, base DN,
67 * The default scheme that will be used if none is provided.
131 // The scheme (i.e., protocol) for this LDAP URL.
132 private String scheme; field in class:LDAPURL
139 * @param scheme The scheme (i.e., protocol) for this LDAP
151 public LDAPURL(String scheme, String host, int port, argument
162 if (scheme == null)
164 this.scheme = "ldap";
168 this.scheme
242 LDAPURL(String scheme, String host, int port, DN baseDN, LinkedHashSet<String> attributes, SearchScope scope, SearchFilter filter, LinkedList<String> extensions) argument
995 setScheme(String scheme) argument
[all...]
/forgerock/opendj2-hg/src/server/org/opends/server/types/
H A DLDAPURL.java44 * of an LDAP URL, including the scheme, host, port, base DN,
62 * The default scheme that will be used if none is provided.
126 // The scheme (i.e., protocol) for this LDAP URL.
127 private String scheme; field in class:LDAPURL
134 * @param scheme The scheme (i.e., protocol) for this LDAP
146 public LDAPURL(String scheme, String host, int port, argument
157 if (scheme == null)
159 this.scheme = "ldap";
163 this.scheme
237 LDAPURL(String scheme, String host, int port, DN baseDN, LinkedHashSet<String> attributes, SearchScope scope, SearchFilter filter, LinkedList<String> extensions) argument
972 setScheme(String scheme) argument
[all...]
/forgerock/openam-v13/openam-core/src/main/java/com/sun/identity/policy/util/
H A DGateway.java451 String orgName, String scheme) {
454 String authService= AMAuthConfigUtils.getModuleServiceName(scheme);
458 debug.message("Auth Scheme : "+scheme);
450 getGWServletUtilsByScheme( String orgName, String scheme) argument
/forgerock/opendj-v3/opendj-server-legacy/src/main/java/org/opends/server/extensions/
H A DPasswordModifyExtendedOperation.java628 PasswordStorageScheme<?> scheme = getPasswordStorageScheme(pwPolicyState, components[0]);
629 if (// The password is encoded using an unknown scheme. Remove it from the user's entry.
630 scheme == null
631 || passwordMatches(pwPolicyState, scheme, oldPassword, components))
811 private PasswordStorageScheme<?> getPasswordStorageScheme(PasswordPolicyState pwPolicyState, String scheme) argument
814 ? DirectoryServer.getAuthPasswordStorageScheme(scheme)
815 : DirectoryServer.getPasswordStorageScheme(toLowerCase(scheme));
819 PasswordPolicyState pwPolicyState, PasswordStorageScheme<?> scheme, ByteString oldPassword, String[] components)
822 ? scheme.authPasswordMatches(oldPassword, components[1], components[2])
823 : scheme
818 passwordMatches( PasswordPolicyState pwPolicyState, PasswordStorageScheme<?> scheme, ByteString oldPassword, String[] components) argument
[all...]
/forgerock/openam/openam-core/src/main/java/com/sun/identity/policy/util/
H A DGateway.java451 String orgName, String scheme) {
454 String authService= AMAuthConfigUtils.getModuleServiceName(scheme);
458 debug.message("Auth Scheme : "+scheme);
450 getGWServletUtilsByScheme( String orgName, String scheme) argument
/forgerock/openam-v13/openam-core/src/main/java/org/forgerock/openam/authentication/service/protocol/
H A DRemoteServletRequest.java69 private String scheme = null; field in class:RemoteServletRequest
144 scheme = getScheme();
410 * @return The scheme associated with the request.
413 return request != null ? this.request.getScheme() : scheme;
576 .append("Scheme : ").append(scheme)
/forgerock/opendj-v3/opendj-server-legacy/src/main/java/org/opends/server/types/
H A DLDAPURL.java49 * of an LDAP URL, including the scheme, host, port, base DN,
63 /** The default scheme that will be used if none is provided. */
99 /** The scheme (i.e., protocol) for this LDAP URL. */
100 private String scheme; field in class:LDAPURL
107 * @param scheme The scheme (i.e., protocol) for this LDAP
119 public LDAPURL(String scheme, String host, int port, argument
130 if (scheme == null)
132 this.scheme = "ldap";
136 this.scheme
203 LDAPURL(String scheme, String host, int port, DN baseDN, LinkedHashSet<String> attributes, SearchScope scope, SearchFilter filter, LinkedList<String> extensions) argument
918 setScheme(String scheme) argument
[all...]
/forgerock/openam/openam-core/src/main/java/org/forgerock/openam/authentication/service/protocol/
H A DRemoteServletRequest.java69 private String scheme = null; field in class:RemoteServletRequest
144 scheme = getScheme();
410 * @return The scheme associated with the request.
413 return request != null ? this.request.getScheme() : scheme;
576 .append("Scheme : ").append(scheme)
/forgerock/opendj-v3/opendj-server-legacy/src/main/java/org/opends/server/core/
H A DPasswordPolicyState.java264 * Get the password storage scheme used by a given password value.
268 * @return The scheme used by the password.
2138 PasswordStorageScheme<?> scheme = getPasswordStorageScheme(schemeName);
2139 if (scheme == null)
2143 logger.trace("User entry %s contains a password with scheme %s that is not defined in the server.",
2150 if (scheme.isReversible())
2152 clearPasswords.add(getPlaintextValue(scheme, pwComponents));
2170 private ByteString getPlaintextValue(PasswordStorageScheme<?> scheme, String[] pwComponents) argument
2174 ? scheme.getAuthPasswordPlaintextValue(pwComponents[1], pwComponents[2])
2175 : scheme
2475 passwordMatches(ByteString password, String[] pwComponents, PasswordStorageScheme<?> scheme) argument
[all...]
/forgerock/opendj-b2.6/src/server/org/opends/server/core/
H A DDirectoryServer.java374 * the lowercase scheme name and the storage scheme) that support the
382 * the lowercase scheme name and the storage scheme).
389 * the DN of the configuration entry and the storage scheme).
4917 * Retrieves the password storage scheme defined in the specified
4921 * password storage scheme to retrieve.
4923 * @return The requested password storage scheme, or {@code null} if no such
4924 * scheme is defined.
4935 * Server, as a mapping between the all-lowercase scheme nam
5007 registerPasswordStorageScheme(DN configEntryDN, PasswordStorageScheme scheme) argument
[all...]
/forgerock/opendj2/src/server/org/opends/server/core/
H A DDirectoryServer.java373 * the lowercase scheme name and the storage scheme) that support the
381 * the lowercase scheme name and the storage scheme).
388 * the DN of the configuration entry and the storage scheme).
4594 * Retrieves the password storage scheme defined in the specified
4598 * password storage scheme to retrieve.
4600 * @return The requested password storage scheme, or {@code null} if no such
4601 * scheme is defined.
4612 * Server, as a mapping between the all-lowercase scheme nam
4684 registerPasswordStorageScheme(DN configEntryDN, PasswordStorageScheme scheme) argument
[all...]
/forgerock/opendj2.6.2/src/server/org/opends/server/core/
H A DDirectoryServer.java375 * the lowercase scheme name and the storage scheme) that support the
383 * the lowercase scheme name and the storage scheme).
390 * the DN of the configuration entry and the storage scheme).
4918 * Retrieves the password storage scheme defined in the specified
4922 * password storage scheme to retrieve.
4924 * @return The requested password storage scheme, or {@code null} if no such
4925 * scheme is defined.
4936 * Server, as a mapping between the all-lowercase scheme nam
5008 registerPasswordStorageScheme(DN configEntryDN, PasswordStorageScheme scheme) argument
[all...]

Completed in 162 milliseconds

1234