RingJavafor Ring

javax.naming.ldap

22 classes of the module java.naming.

Load them with:

using {
	"javax.naming.ldap"
}

All packages

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

NameTypeAccessIn Ring
CRITICALbooleanconstant · statico.CRITICAL
NONCRITICALbooleanconstant · statico.NONCRITICAL

Methods

MethodRing callJava overloads
getEncodedValuegetEncodedValue()byte[] getEncodedValue()
getIDgetID()String getID()
isCriticalisCritical()boolean isCritical()

The methods and fields of Object are inherited.

ControlFactory#

abstract · extends Object · javax.naming.ldap.ControlFactory

Methods

MethodRing callJava overloads
getControlInstancegetControlInstance(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

MethodRing callJava overloads
createExtendedResponsecreateExtendedResponse(id,berValue,offset,length)ExtendedResponse createExtendedResponse(String id, byte[] berValue, int offset, int length)
getEncodedValuegetEncodedValue()byte[] getEncodedValue()
getIDgetID()String getID()

ExtendedResponse#

interface · javax.naming.ldap.ExtendedResponse

Extends: Serializable

Methods

MethodRing callJava overloads
getEncodedValuegetEncodedValue()byte[] getEncodedValue()
getIDgetID()String getID()

HasControls#

interface · javax.naming.ldap.HasControls

Methods

MethodRing callJava overloads
getControlsgetControls()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

NameTypeAccessIn Ring
CONTROL_FACTORIESStringconstant · statico.CONTROL_FACTORIES

Methods

MethodRing callJava overloads
extendedOperationextendedOperation(request)ExtendedResponse extendedOperation(ExtendedRequest request)
getConnectControlsgetConnectControls()Control[] getConnectControls()
getRequestControlsgetRequestControls()Control[] getRequestControls()
getResponseControlsgetResponseControls()Control[] getResponseControls()
newInstancenewInstance(reqCtls)LdapContext newInstance(Control[] reqCtls)
reconnectreconnect(connCtls)void reconnect(Control[] connCtls)
setRequestControlssetRequestControls(requestControls)void setRequestControls(Control[] requestControls)

The methods and fields of InitialDirContext are inherited.

LdapContext#

interface · javax.naming.ldap.LdapContext

Extends: DirContext

Fields

NameTypeAccessIn Ring
CONTROL_FACTORIESStringconstant · statico.CONTROL_FACTORIES
ADD_ATTRIBUTEintconstant · statico.ADD_ATTRIBUTE
REPLACE_ATTRIBUTEintconstant · statico.REPLACE_ATTRIBUTE
REMOVE_ATTRIBUTEintconstant · statico.REMOVE_ATTRIBUTE
INITIAL_CONTEXT_FACTORYStringconstant · statico.INITIAL_CONTEXT_FACTORY
OBJECT_FACTORIESStringconstant · statico.OBJECT_FACTORIES
STATE_FACTORIESStringconstant · statico.STATE_FACTORIES
URL_PKG_PREFIXESStringconstant · statico.URL_PKG_PREFIXES
PROVIDER_URLStringconstant · statico.PROVIDER_URL
DNS_URLStringconstant · statico.DNS_URL
AUTHORITATIVEStringconstant · statico.AUTHORITATIVE
BATCHSIZEStringconstant · statico.BATCHSIZE
REFERRALStringconstant · statico.REFERRAL
SECURITY_PROTOCOLStringconstant · statico.SECURITY_PROTOCOL
SECURITY_AUTHENTICATIONStringconstant · statico.SECURITY_AUTHENTICATION
SECURITY_PRINCIPALStringconstant · statico.SECURITY_PRINCIPAL
SECURITY_CREDENTIALSStringconstant · statico.SECURITY_CREDENTIALS
LANGUAGEStringconstant · statico.LANGUAGE

Methods

MethodRing callJava overloads
addToEnvironmentaddToEnvironment(propName,propVal)Object addToEnvironment(String propName, Object propVal)
bindbind([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)
closeclose()void close()
composeNamecomposeName(name,prefix)String composeName(String name, String prefix)
Name composeName(Name name, Name prefix)
createSubcontextcreateSubcontext(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)
destroySubcontextdestroySubcontext(name)void destroySubcontext(Name name)
void destroySubcontext(String name)
extendedOperationextendedOperation(request)ExtendedResponse extendedOperation(ExtendedRequest request)
getAttributesgetAttributes(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)
getConnectControlsgetConnectControls()Control[] getConnectControls()
getEnvironmentgetEnvironment()Hashtable getEnvironment()
getNameInNamespacegetNameInNamespace()String getNameInNamespace()
getNameParsergetNameParser(name)NameParser getNameParser(String name)
NameParser getNameParser(Name name)
getRequestControlsgetRequestControls()Control[] getRequestControls()
getResponseControlsgetResponseControls()Control[] getResponseControls()
getSchemagetSchema(name)DirContext getSchema(Name name)
DirContext getSchema(String name)
getSchemaClassDefinitiongetSchemaClassDefinition(name)DirContext getSchemaClassDefinition(Name name)
DirContext getSchemaClassDefinition(String name)
listlist(name)NamingEnumeration list(String name)
NamingEnumeration list(Name name)
listBindingslistBindings(name)NamingEnumeration listBindings(Name name)
NamingEnumeration listBindings(String name)
lookuplookup(name)Object lookup(Name name)
Object lookup(String name)
lookupLinklookupLink(name)Object lookupLink(Name name)
Object lookupLink(String name)
modifyAttributesmodifyAttributes([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)
newInstancenewInstance(requestControls)LdapContext newInstance(Control[] requestControls)
rebindrebind([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)
reconnectreconnect(connCtls)void reconnect(Control[] connCtls)
removeFromEnvironmentremoveFromEnvironment(propName)Object removeFromEnvironment(String propName)
renamerename(oldName,newName)void rename(Name oldName, Name newName)
void rename(String oldName, String newName)
searchsearch([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)
setRequestControlssetRequestControls(requestControls)void setRequestControls(Control[] requestControls)
unbindunbind(name)void unbind(String name)
void unbind(Name name)

LdapControl#

interface · javax.naming.ldap.Control

Extends: Serializable

Fields

NameTypeAccessIn Ring
CRITICALbooleanconstant · statico.CRITICAL
NONCRITICALbooleanconstant · statico.NONCRITICAL

Methods

MethodRing callJava overloads
getEncodedValuegetEncodedValue()byte[] getEncodedValue()
getIDgetID()String getID()
isCriticalisCritical()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

NameTypeAccessIn Ring
serialVersionUIDlongconstant · statico.serialVersionUID

Methods

MethodRing callJava overloads
@get@get(posn)String get(int posn)
addadd(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)
addAlladdAll(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)
cloneclone()Object clone()
compareTocompareTo(obj)int compareTo(Object obj)
endsWithendsWith(rdns)boolean endsWith(List rdns)
boolean endsWith(Name n)
getAllgetAll()Enumeration getAll()
getPrefixgetPrefix(posn)Name getPrefix(int posn)
getRdngetRdn(posn)Rdn getRdn(int posn)
getRdnsgetRdns()List getRdns()
getSuffixgetSuffix(posn)Name getSuffix(int posn)
isEmptyisEmpty()boolean isEmpty()
removeremove(posn)Object remove(int posn)
sizesize()int size()
startsWithstartsWith(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

NameTypeAccessIn Ring
OIDStringconstant · statico.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

NameTypeAccessIn Ring
OIDStringconstant · statico.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

NameTypeAccessIn Ring
OIDStringconstant · statico.OID

Methods

MethodRing callJava overloads
getCookiegetCookie()byte[] getCookie()
getResultSizegetResultSize()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

MethodRing callJava overloads
compareTocompareTo(obj)int compareTo(Object obj)
escapeValueescapeValue(val)static String escapeValue(Object val)
getTypegetType()String getType()
getValuegetValue()Object getValue()
sizesize()int size()
toAttributestoAttributes()Attributes toAttributes()
unescapeValueunescapeValue(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

NameTypeAccessIn Ring
OIDStringconstant · statico.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

MethodRing callJava overloads
getAttributeIDgetAttributeID()String getAttributeID()
getMatchingRuleIDgetMatchingRuleID()String getMatchingRuleID()
isAscendingisAscending()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

NameTypeAccessIn Ring
OIDStringconstant · statico.OID

Methods

MethodRing callJava overloads
getAttributeIDgetAttributeID()String getAttributeID()
getExceptiongetException()NamingException getException()
getResultCodegetResultCode()int getResultCode()
isSortedisSorted()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

NameTypeAccessIn Ring
OIDStringconstant · statico.OID

Methods

MethodRing callJava overloads
createExtendedResponsecreateExtendedResponse(id,berValue,offset,length)ExtendedResponse createExtendedResponse(String id, byte[] berValue, int offset, int length)
getEncodedValuegetEncodedValue()byte[] getEncodedValue()
getIDgetID()String getID()

The methods and fields of Object are inherited.

StartTlsResponse#

abstract · extends Object · javax.naming.ldap.StartTlsResponse

Implements: ExtendedResponse

Fields

NameTypeAccessIn Ring
OIDStringconstant · statico.OID

Methods

MethodRing callJava overloads
@negotiate@negotiate(factory)SSLSession negotiate(SSLSocketFactory factory)
closeclose()void close()
getEncodedValuegetEncodedValue()byte[] getEncodedValue()
getIDgetID()String getID()
negotiatenegotiate()SSLSession negotiate()
setEnabledCipherSuitessetEnabledCipherSuites(suites)void setEnabledCipherSuites(String[] suites)
setHostnameVerifiersetHostnameVerifier(verifier)void setHostnameVerifier(HostnameVerifier verifier)

The methods and fields of Object are inherited.

UnsolicitedNotification#

interface · javax.naming.ldap.UnsolicitedNotification

Extends: ExtendedResponse, HasControls

Methods

MethodRing callJava overloads
getControlsgetControls()Control[] getControls()
getEncodedValuegetEncodedValue()byte[] getEncodedValue()
getExceptiongetException()NamingException getException()
getIDgetID()String getID()
getReferralsgetReferrals()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

MethodRing callJava overloads
dispatchdispatch(listener)void dispatch(UnsolicitedNotificationListener listener)
getNotificationgetNotification()UnsolicitedNotification getNotification()

The methods and fields of EventObject are inherited.

UnsolicitedNotificationListener#

interface · javax.naming.ldap.UnsolicitedNotificationListener

Extends: NamingListener

Methods

MethodRing callJava overloads
namingExceptionThrownnamingExceptionThrown(evt)void namingExceptionThrown(NamingExceptionEvent evt)
notificationReceivednotificationReceived(evt)void notificationReceived(UnsolicitedNotificationEvent evt)
RingJava - use Java classes and methods from Ring programs.