|
1 | 1 | /*
|
2 |
| - * Copyright (c) 2014, 2018, Oracle and/or its affiliates. All rights reserved. |
| 2 | + * Copyright (c) 2014, 2020, Oracle and/or its affiliates. All rights reserved. |
3 | 3 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
4 | 4 | *
|
5 | 5 | * This code is free software; you can redistribute it and/or modify it
|
|
25 | 25 |
|
26 | 26 | /**
|
27 | 27 | * Defines the Java Naming and Directory Interface (JNDI) API.
|
| 28 | + * <p> |
| 29 | + * Common standard JNDI environment properties that may be supported |
| 30 | + * by JNDI providers are defined and documented in |
| 31 | + * {@link javax.naming.Context}. Specific JNDI provider implementations |
| 32 | + * may also support other environment properties, which are specific |
| 33 | + * to their implementation. |
| 34 | + * |
| 35 | + * @implNote |
| 36 | + * The following implementation specific properties are supported by the |
| 37 | + * default LDAP Naming Service Provider implementation in the JDK: |
| 38 | + * <ul> |
| 39 | + * <li>{@code com.sun.jndi.ldap.connect.timeout}: |
| 40 | + * <br>The value of this property is the string representation |
| 41 | + * of an integer representing the connection timeout in |
| 42 | + * milliseconds. If the LDAP provider cannot establish a |
| 43 | + * connection within that period, it aborts the connection attempt. |
| 44 | + * The integer should be greater than zero. An integer less than |
| 45 | + * or equal to zero means to use the network protocol's (i.e., TCP's) |
| 46 | + * timeout value. |
| 47 | + * <br> If this property is not specified, the default is to wait |
| 48 | + * for the connection to be established or until the underlying |
| 49 | + * network times out. |
| 50 | + * </li> |
| 51 | + * <li>{@code com.sun.jndi.ldap.read.timeout}: |
| 52 | + * <br>The value of this property is the string representation |
| 53 | + * of an integer representing the read timeout in milliseconds |
| 54 | + * for LDAP operations. If the LDAP provider cannot get a LDAP |
| 55 | + * response within that period, it aborts the read attempt. The |
| 56 | + * integer should be greater than zero. An integer less than or |
| 57 | + * equal to zero means no read timeout is specified which is equivalent |
| 58 | + * to waiting for the response infinitely until it is received. |
| 59 | + * <br>If this property is not specified, the default is to wait |
| 60 | + * for the response until it is received. |
| 61 | + * </li> |
| 62 | + * </ul> |
28 | 63 | *
|
29 | 64 | * @provides javax.naming.ldap.spi.LdapDnsProvider
|
30 | 65 | *
|
|
56 | 91 | provides java.security.Provider with
|
57 | 92 | sun.security.provider.certpath.ldap.JdkLDAP;
|
58 | 93 | }
|
59 |
| - |
|
0 commit comments