|
Spring LDAP | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.naming.directory.BasicAttributes
org.springframework.ldap.core.LdapAttributes
public class LdapAttributes
Extends BasicAttributes
to add specialized support
for DNs.
While DNs appear to be and can be treated as attributes, they have a special meaning in that they define the address to which the object is bound. DNs must conform to special formatting rules and are typically required to be handled separately from other attributes.
This class makes this distinction between the DN and other attributes prominent and apparent.
Field Summary | |
---|---|
protected LdapName |
dn
Distinguished name to which the object is bound. |
Constructor Summary | |
---|---|
LdapAttributes()
Default constructor. |
|
LdapAttributes(boolean ignoreCase)
Constructor for specifying whether or not the object is case sensitive. |
Method Summary | |
---|---|
DistinguishedName |
getDN()
Deprecated. and associated classes and methods are deprecated as of 2.0 .
use getName() instead. |
LdapName |
getName()
Returns the distinguished name to which the object is bound. |
void |
setDN(DistinguishedName dn)
Deprecated. and associated classes and methods are deprecated as of 2.0 .
use setName(javax.naming.Name) instead. |
void |
setName(Name name)
|
String |
toString()
Returns a string representation of the object in LDIF format. |
Methods inherited from class javax.naming.directory.BasicAttributes |
---|
clone, equals, get, getAll, getIDs, hashCode, isCaseIgnored, put, put, remove, size |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected LdapName dn
Constructor Detail |
---|
public LdapAttributes()
public LdapAttributes(boolean ignoreCase)
ignoreCase
- boolean indicator.Method Detail |
---|
public DistinguishedName getDN()
and associated classes and methods are deprecated as of 2.0
.
use getName()
instead.
DistinguishedName
specifying the name to which the object is bound.public LdapName getName()
LdapName
specifying the name to which the object is bound.public void setDN(DistinguishedName dn)
and associated classes and methods are deprecated as of 2.0
.
use setName(javax.naming.Name)
instead.
dn
- DistinguishedName
specifying the name to which the object is bound.public void setName(Name name)
public String toString()
toString
in class BasicAttributes
String
formated to RFC2849 LDIF specifications.
|
Spring LDAP | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |