Class CredentialsDescription.BasicCredential

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected org.apache.http.auth.UsernamePasswordCredentials credentialsObject  
      protected java.lang.String password  
      protected java.lang.String userName  
    • Constructor Summary

      Constructors 
      Constructor Description
      BasicCredential​(java.lang.String userName, java.lang.String password)
      Constructor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)
      Compare against another object
      int hashCode()
      Calculate a hash function
      org.apache.http.auth.Credentials makeCredentialsObject​(java.lang.String targetHostName)
      Turn this instance into a Credentials object, given the specified target host name
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • userName

        protected java.lang.String userName
      • password

        protected java.lang.String password
      • credentialsObject

        protected org.apache.http.auth.UsernamePasswordCredentials credentialsObject
    • Constructor Detail

      • BasicCredential

        public BasicCredential​(java.lang.String userName,
                               java.lang.String password)
        Constructor
    • Method Detail

      • makeCredentialsObject

        public org.apache.http.auth.Credentials makeCredentialsObject​(java.lang.String targetHostName)
                                                               throws org.apache.manifoldcf.core.interfaces.ManifoldCFException
        Turn this instance into a Credentials object, given the specified target host name
        Specified by:
        makeCredentialsObject in interface PageCredentials
        Throws:
        org.apache.manifoldcf.core.interfaces.ManifoldCFException
      • equals

        public boolean equals​(java.lang.Object o)
        Compare against another object
        Specified by:
        equals in interface AuthenticationCredentials
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Calculate a hash function
        Specified by:
        hashCode in interface AuthenticationCredentials
        Overrides:
        hashCode in class java.lang.Object