Package com.iplanet.services.ldap
Class LDAPUser
- java.lang.Object
-
- com.iplanet.services.ldap.LDAPUser
-
- All Implemented Interfaces:
ParseOutput
public class LDAPUser extends Object implements ParseOutput
This class represents user who is going to be authorized to log onto the server. This class also contains the user credentials. Currently the credential information is password only, but it extensible to certificates.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLDAPUser.Type
-
Field Summary
Fields Modifier and Type Field Description static StringANONYMOUS_PASSWDstatic StringANONYMOUS_USER
-
Constructor Summary
Constructors Constructor Description LDAPUser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringgetAuthID()Get the authentication ID of this user.LDAPUser.TypegetAuthType()Get the type of authentication of this user.protected StringgetPasswd()Get the authentication password.StringgetUserID()voidprocess(XMLParser parser, String name, Vector elems, Hashtable atts, String Pcdata)method called by the XML callback functionStringtoString()
-
-
-
Field Detail
-
ANONYMOUS_USER
public static final String ANONYMOUS_USER
- See Also:
- Constant Field Values
-
ANONYMOUS_PASSWD
public static final String ANONYMOUS_PASSWD
- See Also:
- Constant Field Values
-
-
Method Detail
-
process
public void process(XMLParser parser, String name, Vector elems, Hashtable atts, String Pcdata)
Description copied from interface:ParseOutputmethod called by the XML callback function
- Specified by:
processin interfaceParseOutputname- the name of this node.elems- contains all the sub-nodes.atts- contains the attributes value of this nodePcdata- contains text value of this node- See Also:
ParseOutput
-
getAuthID
protected String getAuthID()
Get the authentication ID of this user.- Returns:
- String The LDAP Bind DN
-
getPasswd
protected String getPasswd()
Get the authentication password.- Returns:
- String the bind password.
-
getAuthType
public LDAPUser.Type getAuthType()
Get the type of authentication of this user.- Returns:
- Type The authentication type.
-
getUserID
public String getUserID()
-
-