Class AuthCredentials

java.lang.Object
com.netscape.cms.servlet.common.AuthCredentials
All Implemented Interfaces:
IAuthCredentials, IAttrSet, Serializable

public class AuthCredentials extends Object implements IAuthCredentials
Authentication Credentials as input to the authMgr

Version:
$Revision$, $Date$
See Also:
  • Constructor Details

    • AuthCredentials

      public AuthCredentials()
  • Method Details

    • set

      public void set(String name, Object cred) throws EAuthException
      sets a credential with credential name and the credential
      Specified by:
      set in interface IAttrSet
      Parameters:
      name - credential name
      cred - credential
      Throws:
      EBaseException - NullPointerException
      EAuthException
    • get

      public Object get(String name)
      returns the credential to which the specified name is mapped in this credential set
      Specified by:
      get in interface IAttrSet
      Parameters:
      name - credential name
      Returns:
      the named authentication credential
    • delete

      public void delete(String name)
      removes the name and its corresponding credential from this credential set. This method does nothing if the named credential is not in the credential set.
      Specified by:
      delete in interface IAttrSet
      Parameters:
      name - credential name
    • getElements

      public Enumeration<String> getElements()
      returns an enumeration of the credential names in this credential set. Use the Enumeration methods on the returned object to fetch the elements sequentially.
      Specified by:
      getElements in interface IAttrSet
      Returns:
      an enumeration of the names in this credential set
      See Also:
    • setArgBlock

      public void setArgBlock(IArgBlock blk)
      Description copied from interface: IAuthCredentials
      Set argblock.
      Specified by:
      setArgBlock in interface IAuthCredentials
      Parameters:
      blk - argblock
    • getArgBlock

      public IArgBlock getArgBlock()
      Description copied from interface: IAuthCredentials
      Returns argblock.
      Specified by:
      getArgBlock in interface IAuthCredentials
      Returns:
      Argblock.