Class BasicAuthentication

java.lang.Object
com.ebasetech.xi.services.auth.BasicAuthentication
All Implemented Interfaces:
Authentication

public class BasicAuthentication
extends java.lang.Object
implements Authentication
Basic Authentication holding the username and password for HTTP Basic Authentication
Since:
v5.1
  • Constructor Details

    • BasicAuthentication

      public BasicAuthentication()
  • Method Details

    • getUsername

      public java.lang.String getUsername()
      Returns the username to be authenticated
      Since:
      v5.1
    • setUsername

      public void setUsername​(java.lang.String username)
      Sets the username to be authenticated
      Since:
      v5.1
    • getPassword

      public java.lang.String getPassword()
      Returns the password to be authenticated
      Since:
      v5.1
    • setPassword

      public void setPassword​(java.lang.String password)
      Sets the password to be authenticated
      Since:
      v5.1
    • getType

      public int getType()
      Description copied from interface: Authentication
      Returns the Authentication type ID
      Specified by:
      getType in interface Authentication