javax.naming.ldap
22 classes of the module java.naming.
Load them with:
using {
"javax.naming.ldap"
}
BasicControl#
class · extends Object · javax.naming.ldap.BasicControl
Implements: LdapControl
Constructors
new BasicControl(String id) |
new BasicControl(String id, boolean criticality, byte[] value) |
Ring: new BasicControl(args) uses the constructor with the fewest parameters (at least one); new BasicControl makes the object with the constructor without parameters; the others: (new BasicControl).@New([ :param = value ]) or .@New([v1,v2]).
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
CRITICAL | boolean | constant · static | o.CRITICAL |
NONCRITICAL | boolean | constant · static | o.NONCRITICAL |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getEncodedValue | getEncodedValue() | byte[] getEncodedValue() |
getID | getID() | String getID() |
isCritical | isCritical() | boolean isCritical() |
The methods and fields of Object are inherited.
ControlFactory#
abstract · extends Object · javax.naming.ldap.ControlFactory
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getControlInstance | getControlInstance(ctl)getControlInstance([ctl,ctx,env])getControlInstance([ :ctl = v, :ctx = v, :env = v ]) | Control getControlInstance(Control ctl)static Control getControlInstance(Control ctl, Context ctx, Hashtable env) |
The methods and fields of Object are inherited.
ExtendedRequest#
interface · javax.naming.ldap.ExtendedRequest
Extends: Serializable
Methods
| Method | Ring call | Java overloads |
|---|---|---|
createExtendedResponse | createExtendedResponse(id,berValue,offset,length) | ExtendedResponse createExtendedResponse(String id, byte[] berValue, int offset, int length) |
getEncodedValue | getEncodedValue() | byte[] getEncodedValue() |
getID | getID() | String getID() |
ExtendedResponse#
interface · javax.naming.ldap.ExtendedResponse
Extends: Serializable
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getEncodedValue | getEncodedValue() | byte[] getEncodedValue() |
getID | getID() | String getID() |
HasControls#
interface · javax.naming.ldap.HasControls
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getControls | getControls() | Control[] getControls() |
InitialLdapContext#
class · extends InitialDirContext · javax.naming.ldap.InitialLdapContext
Implements: LdapContext
Constructors
new InitialLdapContext() |
new InitialLdapContext(Hashtable environment, Control[] connCtls) |
Ring: new InitialLdapContext(args) uses the constructor with the fewest parameters (at least one); new InitialLdapContext makes the object with the constructor without parameters; the others: (new InitialLdapContext).@New([ :param = value ]) or .@New([v1,v2]).
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
CONTROL_FACTORIES | String | constant · static | o.CONTROL_FACTORIES |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
extendedOperation | extendedOperation(request) | ExtendedResponse extendedOperation(ExtendedRequest request) |
getConnectControls | getConnectControls() | Control[] getConnectControls() |
getRequestControls | getRequestControls() | Control[] getRequestControls() |
getResponseControls | getResponseControls() | Control[] getResponseControls() |
newInstance | newInstance(reqCtls) | LdapContext newInstance(Control[] reqCtls) |
reconnect | reconnect(connCtls) | void reconnect(Control[] connCtls) |
setRequestControls | setRequestControls(requestControls) | void setRequestControls(Control[] requestControls) |
The methods and fields of InitialDirContext are inherited.
LdapContext#
interface · javax.naming.ldap.LdapContext
Extends: DirContext
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
CONTROL_FACTORIES | String | constant · static | o.CONTROL_FACTORIES |
ADD_ATTRIBUTE | int | constant · static | o.ADD_ATTRIBUTE |
REPLACE_ATTRIBUTE | int | constant · static | o.REPLACE_ATTRIBUTE |
REMOVE_ATTRIBUTE | int | constant · static | o.REMOVE_ATTRIBUTE |
INITIAL_CONTEXT_FACTORY | String | constant · static | o.INITIAL_CONTEXT_FACTORY |
OBJECT_FACTORIES | String | constant · static | o.OBJECT_FACTORIES |
STATE_FACTORIES | String | constant · static | o.STATE_FACTORIES |
URL_PKG_PREFIXES | String | constant · static | o.URL_PKG_PREFIXES |
PROVIDER_URL | String | constant · static | o.PROVIDER_URL |
DNS_URL | String | constant · static | o.DNS_URL |
AUTHORITATIVE | String | constant · static | o.AUTHORITATIVE |
BATCHSIZE | String | constant · static | o.BATCHSIZE |
REFERRAL | String | constant · static | o.REFERRAL |
SECURITY_PROTOCOL | String | constant · static | o.SECURITY_PROTOCOL |
SECURITY_AUTHENTICATION | String | constant · static | o.SECURITY_AUTHENTICATION |
SECURITY_PRINCIPAL | String | constant · static | o.SECURITY_PRINCIPAL |
SECURITY_CREDENTIALS | String | constant · static | o.SECURITY_CREDENTIALS |
LANGUAGE | String | constant · static | o.LANGUAGE |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
addToEnvironment | addToEnvironment(propName,propVal) | Object addToEnvironment(String propName, Object propVal) |
bind | bind([name,obj])bind([ :name = v, :obj = v ])bind([name,obj,attrs])bind([ :name = v, :obj = v, :attrs = v ]) | void bind(String name, Object obj)void bind(Name name, Object obj)void bind(Name name, Object obj, Attributes attrs)void bind(String name, Object obj, Attributes attrs) |
close | close() | void close() |
composeName | composeName(name,prefix) | String composeName(String name, String prefix)Name composeName(Name name, Name prefix) |
createSubcontext | createSubcontext(name)createSubcontext([name,attrs])createSubcontext([ :name = v, :attrs = v ]) | Context createSubcontext(String name)Context createSubcontext(Name name)DirContext createSubcontext(String name, Attributes attrs)DirContext createSubcontext(Name name, Attributes attrs) |
destroySubcontext | destroySubcontext(name) | void destroySubcontext(Name name)void destroySubcontext(String name) |
extendedOperation | extendedOperation(request) | ExtendedResponse extendedOperation(ExtendedRequest request) |
getAttributes | getAttributes(name)getAttributes([name,attrIds])getAttributes([ :name = v, :attrIds = v ]) | Attributes getAttributes(Name name)Attributes getAttributes(String name)Attributes getAttributes(String name, String[] attrIds)Attributes getAttributes(Name name, String[] attrIds) |
getConnectControls | getConnectControls() | Control[] getConnectControls() |
getEnvironment | getEnvironment() | Hashtable getEnvironment() |
getNameInNamespace | getNameInNamespace() | String getNameInNamespace() |
getNameParser | getNameParser(name) | NameParser getNameParser(String name)NameParser getNameParser(Name name) |
getRequestControls | getRequestControls() | Control[] getRequestControls() |
getResponseControls | getResponseControls() | Control[] getResponseControls() |
getSchema | getSchema(name) | DirContext getSchema(Name name)DirContext getSchema(String name) |
getSchemaClassDefinition | getSchemaClassDefinition(name) | DirContext getSchemaClassDefinition(Name name)DirContext getSchemaClassDefinition(String name) |
list | list(name) | NamingEnumeration list(String name)NamingEnumeration list(Name name) |
listBindings | listBindings(name) | NamingEnumeration listBindings(Name name)NamingEnumeration listBindings(String name) |
lookup | lookup(name) | Object lookup(Name name)Object lookup(String name) |
lookupLink | lookupLink(name) | Object lookupLink(Name name)Object lookupLink(String name) |
modifyAttributes | modifyAttributes([name,mods])modifyAttributes([ :name = v, :mods = v ])modifyAttributes([name,mod_op,attrs])modifyAttributes([ :name = v, :mod_op = v, :attrs = v ]) | void modifyAttributes(Name name, ModificationItem[] mods)void modifyAttributes(String name, ModificationItem[] mods)void modifyAttributes(String name, int mod_op, Attributes attrs)void modifyAttributes(Name name, int mod_op, Attributes attrs) |
newInstance | newInstance(requestControls) | LdapContext newInstance(Control[] requestControls) |
rebind | rebind([name,obj])rebind([ :name = v, :obj = v ])rebind([name,obj,attrs])rebind([ :name = v, :obj = v, :attrs = v ]) | void rebind(String name, Object obj)void rebind(Name name, Object obj)void rebind(Name name, Object obj, Attributes attrs)void rebind(String name, Object obj, Attributes attrs) |
reconnect | reconnect(connCtls) | void reconnect(Control[] connCtls) |
removeFromEnvironment | removeFromEnvironment(propName) | Object removeFromEnvironment(String propName) |
rename | rename(oldName,newName) | void rename(Name oldName, Name newName)void rename(String oldName, String newName) |
search | search([name,matchingAttributes])search([ :name = v, :matchingAttributes = v ])search([name,matchingAttributes,attributesToReturn])search([ :name = v, :matchingAttributes = v, :attributesToReturn = v ])search([name,filterExpr,filterArgs,cons])search([ :name = v, :filterExpr = v, :filterArgs = v, :cons = v ]) | NamingEnumeration search(String name, Attributes matchingAttributes)NamingEnumeration search(Name name, Attributes matchingAttributes)NamingEnumeration search(String name, Attributes matchingAttributes, String[] attributesToReturn)NamingEnumeration search(Name name, Attributes matchingAttributes, String[] attributesToReturn)NamingEnumeration search(String name, String filter, SearchControls cons)NamingEnumeration search(Name name, String filter, SearchControls cons)NamingEnumeration search(String name, String filterExpr, Object[] filterArgs, SearchControls cons)NamingEnumeration search(Name name, String filterExpr, Object[] filterArgs, SearchControls cons) |
setRequestControls | setRequestControls(requestControls) | void setRequestControls(Control[] requestControls) |
unbind | unbind(name) | void unbind(String name)void unbind(Name name) |
LdapControl#
interface · javax.naming.ldap.Control
Extends: Serializable
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
CRITICAL | boolean | constant · static | o.CRITICAL |
NONCRITICAL | boolean | constant · static | o.NONCRITICAL |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getEncodedValue | getEncodedValue() | byte[] getEncodedValue() |
getID | getID() | String getID() |
isCritical | isCritical() | boolean isCritical() |
LdapName#
class · extends Object · javax.naming.ldap.LdapName
Implements: Name
Constructors
new LdapName(List rdns) |
new LdapName(String name) |
Ring: new LdapName(args) uses the constructor with the fewest parameters (at least one); new LdapName makes the object with the constructor without parameters; the others: (new LdapName).@New([ :param = value ]) or .@New([v1,v2]).
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
serialVersionUID | long | constant · static | o.serialVersionUID |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
@get | @get(posn) | String get(int posn) |
add | add(comp)add([posn,comp])add([ :posn = v, :comp = v ]) | Name add(Rdn comp)Name add(String comp)Name add(int posn, String comp)Name add(int posn, Rdn comp) |
addAll | addAll(suffix)addAll([posn,suffix])addAll([ :posn = v, :suffix = v ]) | Name addAll(Name suffix)Name addAll(List suffixRdns)Name addAll(int posn, Name suffix)Name addAll(int posn, List suffixRdns) |
clone | clone() | Object clone() |
compareTo | compareTo(obj) | int compareTo(Object obj) |
endsWith | endsWith(rdns) | boolean endsWith(List rdns)boolean endsWith(Name n) |
getAll | getAll() | Enumeration getAll() |
getPrefix | getPrefix(posn) | Name getPrefix(int posn) |
getRdn | getRdn(posn) | Rdn getRdn(int posn) |
getRdns | getRdns() | List getRdns() |
getSuffix | getSuffix(posn) | Name getSuffix(int posn) |
isEmpty | isEmpty() | boolean isEmpty() |
remove | remove(posn) | Object remove(int posn) |
size | size() | int size() |
startsWith | startsWith(rdns) | boolean startsWith(List rdns)boolean startsWith(Name n) |
The methods and fields of Object are inherited.
LdapReferralException#
abstract · extends ReferralException · javax.naming.ldap.LdapReferralException
The methods and fields of ReferralException are inherited.
ManageReferralControl#
class final · extends BasicControl · javax.naming.ldap.ManageReferralControl
Constructors
new ManageReferralControl() |
new ManageReferralControl(boolean criticality) |
Ring: new ManageReferralControl(args) uses the constructor with the fewest parameters (at least one); new ManageReferralControl makes the object with the constructor without parameters; the others: (new ManageReferralControl).@New([ :param = value ]) or .@New([v1,v2]).
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
OID | String | constant · static | o.OID |
The methods and fields of BasicControl are inherited.
PagedResultsControl#
class final · extends BasicControl · javax.naming.ldap.PagedResultsControl
Constructors
new PagedResultsControl(int pageSize, boolean criticality) |
new PagedResultsControl(int pageSize, byte[] cookie, boolean criticality) |
Ring: new PagedResultsControl(args) uses the constructor with the fewest parameters (at least one); new PagedResultsControl makes the object with the constructor without parameters; the others: (new PagedResultsControl).@New([ :param = value ]) or .@New([v1,v2]).
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
OID | String | constant · static | o.OID |
The methods and fields of BasicControl are inherited.
PagedResultsResponseControl#
class final · extends BasicControl · javax.naming.ldap.PagedResultsResponseControl
Constructors
new PagedResultsResponseControl(String id, boolean criticality, byte[] value) |
Ring: new PagedResultsResponseControl(args) uses the constructor with the fewest parameters (at least one); new PagedResultsResponseControl makes the object with the constructor without parameters; the others: (new PagedResultsResponseControl).@New([ :param = value ]) or .@New([v1,v2]).
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
OID | String | constant · static | o.OID |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getCookie | getCookie() | byte[] getCookie() |
getResultSize | getResultSize() | int getResultSize() |
The methods and fields of BasicControl are inherited.
Rdn#
class · extends Object · javax.naming.ldap.Rdn
Implements: Serializable, Comparable
Constructors
new Rdn(Rdn rdn) |
new Rdn(String rdnString) |
new Rdn(Attributes attrSet) |
new Rdn(String type, Object value) |
Ring: new Rdn(args) uses the constructor with the fewest parameters (at least one); new Rdn makes the object with the constructor without parameters; the others: (new Rdn).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
compareTo | compareTo(obj) | int compareTo(Object obj) |
escapeValue | escapeValue(val) | static String escapeValue(Object val) |
getType | getType() | String getType() |
getValue | getValue() | Object getValue() |
size | size() | int size() |
toAttributes | toAttributes() | Attributes toAttributes() |
unescapeValue | unescapeValue(val) | static Object unescapeValue(String val) |
The methods and fields of Object are inherited.
SortControl#
class final · extends BasicControl · javax.naming.ldap.SortControl
Constructors
new SortControl(SortKey[] sortBy, boolean criticality) |
new SortControl(String[] sortBy, boolean criticality) |
new SortControl(String sortBy, boolean criticality) |
Ring: new SortControl(args) uses the constructor with the fewest parameters (at least one); new SortControl makes the object with the constructor without parameters; the others: (new SortControl).@New([ :param = value ]) or .@New([v1,v2]).
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
OID | String | constant · static | o.OID |
The methods and fields of BasicControl are inherited.
SortKey#
class · extends Object · javax.naming.ldap.SortKey
Constructors
new SortKey(String attrID) |
new SortKey(String attrID, boolean ascendingOrder, String matchingRuleID) |
Ring: new SortKey(args) uses the constructor with the fewest parameters (at least one); new SortKey makes the object with the constructor without parameters; the others: (new SortKey).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getAttributeID | getAttributeID() | String getAttributeID() |
getMatchingRuleID | getMatchingRuleID() | String getMatchingRuleID() |
isAscending | isAscending() | boolean isAscending() |
The methods and fields of Object are inherited.
SortResponseControl#
class final · extends BasicControl · javax.naming.ldap.SortResponseControl
Constructors
new SortResponseControl(String id, boolean criticality, byte[] value) |
Ring: new SortResponseControl(args) uses the constructor with the fewest parameters (at least one); new SortResponseControl makes the object with the constructor without parameters; the others: (new SortResponseControl).@New([ :param = value ]) or .@New([v1,v2]).
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
OID | String | constant · static | o.OID |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getAttributeID | getAttributeID() | String getAttributeID() |
getException | getException() | NamingException getException() |
getResultCode | getResultCode() | int getResultCode() |
isSorted | isSorted() | boolean isSorted() |
The methods and fields of BasicControl are inherited.
StartTlsRequest#
class · extends Object · javax.naming.ldap.StartTlsRequest
Implements: ExtendedRequest
Constructors
new StartTlsRequest() |
Ring: new StartTlsRequest(args) uses the constructor with the fewest parameters (at least one); new StartTlsRequest makes the object with the constructor without parameters; the others: (new StartTlsRequest).@New([ :param = value ]) or .@New([v1,v2]).
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
OID | String | constant · static | o.OID |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
createExtendedResponse | createExtendedResponse(id,berValue,offset,length) | ExtendedResponse createExtendedResponse(String id, byte[] berValue, int offset, int length) |
getEncodedValue | getEncodedValue() | byte[] getEncodedValue() |
getID | getID() | String getID() |
The methods and fields of Object are inherited.
StartTlsResponse#
abstract · extends Object · javax.naming.ldap.StartTlsResponse
Implements: ExtendedResponse
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
OID | String | constant · static | o.OID |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
@negotiate | @negotiate(factory) | SSLSession negotiate(SSLSocketFactory factory) |
close | close() | void close() |
getEncodedValue | getEncodedValue() | byte[] getEncodedValue() |
getID | getID() | String getID() |
negotiate | negotiate() | SSLSession negotiate() |
setEnabledCipherSuites | setEnabledCipherSuites(suites) | void setEnabledCipherSuites(String[] suites) |
setHostnameVerifier | setHostnameVerifier(verifier) | void setHostnameVerifier(HostnameVerifier verifier) |
The methods and fields of Object are inherited.
UnsolicitedNotification#
interface · javax.naming.ldap.UnsolicitedNotification
Extends: ExtendedResponse, HasControls
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getControls | getControls() | Control[] getControls() |
getEncodedValue | getEncodedValue() | byte[] getEncodedValue() |
getException | getException() | NamingException getException() |
getID | getID() | String getID() |
getReferrals | getReferrals() | String[] getReferrals() |
UnsolicitedNotificationEvent#
class · extends EventObject · javax.naming.ldap.UnsolicitedNotificationEvent
Constructors
new UnsolicitedNotificationEvent(Object src, UnsolicitedNotification notice) |
Ring: new UnsolicitedNotificationEvent(args) uses the constructor with the fewest parameters (at least one); new UnsolicitedNotificationEvent makes the object with the constructor without parameters; the others: (new UnsolicitedNotificationEvent).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
dispatch | dispatch(listener) | void dispatch(UnsolicitedNotificationListener listener) |
getNotification | getNotification() | UnsolicitedNotification getNotification() |
The methods and fields of EventObject are inherited.
UnsolicitedNotificationListener#
interface · javax.naming.ldap.UnsolicitedNotificationListener
Extends: NamingListener
Methods
| Method | Ring call | Java overloads |
|---|---|---|
namingExceptionThrown | namingExceptionThrown(evt) | void namingExceptionThrown(NamingExceptionEvent evt) |
notificationReceived | notificationReceived(evt) | void notificationReceived(UnsolicitedNotificationEvent evt) |