Class AuthCredentials

    • Constructor Summary

      Constructors 
      Constructor Description
      AuthCredentials()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void delete​(java.lang.String name)
      removes the name and its corresponding credential from this credential set.
      java.lang.Object get​(java.lang.String name)
      returns the credential to which the specified name is mapped in this credential set
      IArgBlock getArgBlock()
      Returns argblock.
      java.util.Enumeration<java.lang.String> getElements()
      returns an enumeration of the credential names in this credential set.
      void set​(java.lang.String name, java.lang.Object cred)
      sets a credential with credential name and the credential
      void setArgBlock​(IArgBlock blk)
      Set argblock.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AuthCredentials

        public AuthCredentials()
    • Method Detail

      • set

        public void set​(java.lang.String name,
                        java.lang.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 java.lang.Object get​(java.lang.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​(java.lang.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 java.util.Enumeration<java.lang.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:
        Enumeration