Class BasicAuthentication

    • Constructor Summary

      Constructors 
      Constructor Description
      BasicAuthentication​(java.lang.String username, java.lang.String password)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void authenticate​(Query<?> query)
      Called to authenticate the query with the server.
      java.lang.String getPassword()  
      java.lang.String getUsername()  
      • Methods inherited from class java.lang.Object

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

      • BasicAuthentication

        public BasicAuthentication​(java.lang.String username,
                                   java.lang.String password)
    • Method Detail

      • getUsername

        public java.lang.String getUsername()
      • getPassword

        public java.lang.String getPassword()
      • authenticate

        public void authenticate​(Query<?> query)
        Description copied from interface: Authentication
        Called to authenticate the query with the server.
        Specified by:
        authenticate in interface Authentication
        Parameters:
        query - The query needing authentication.