Class 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.
    • Constructor Detail

      • LDAPUser

        public LDAPUser()
    • Method Detail

      • process

        public void process​(XMLParser parser,
                            String name,
                            Vector elems,
                            Hashtable atts,
                            String Pcdata)
        Description copied from interface: ParseOutput

        method called by the XML callback function

        Specified by:
        process in interface ParseOutput
        name - the name of this node.
        elems - contains all the sub-nodes.
        atts - contains the attributes value of this node
        Pcdata - 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()