Class AuthCredentials

java.lang.Object
com.netscape.certsrv.authentication.AuthCredentials
All Implemented Interfaces:
IAuthCredentials, IAttrSet, Serializable

public class AuthCredentials extends Object implements IAuthCredentials
Authentication Credentials as input to the authMgr. It contains all the information required for authentication in the authMgr.

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

    • AuthCredentials

      public AuthCredentials()
      Constructor
  • Method Details

    • set

      public void set(String name, Object cred)
      Sets an authentication credential with credential name and the credential object
      Specified by:
      set in interface IAttrSet
      Parameters:
      name - credential name
      cred - credential object
    • 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 authentication credential for the given name
    • 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
    • setArgBlock

      public void setArgBlock(IArgBlock blk)
      Set the given argblock i * @param blk the given argblock.
      Specified by:
      setArgBlock in interface IAuthCredentials
      Parameters:
      blk - argblock
    • getArgBlock

      public IArgBlock getArgBlock()
      Returns the argblock.
      Specified by:
      getArgBlock in interface IAuthCredentials
      Returns:
      the argblock.