Class BasicAuthentication

java.lang.Object
com.djrapitops.plan.delivery.webserver.auth.BasicAuthentication
All Implemented Interfaces:
Authentication

public class BasicAuthentication extends Object implements Authentication
Authentication handling for Basic Auth.

Basic access authentication (Wikipedia): https://en.wikipedia.org/wiki/Basic_access_authentication

  • Constructor Details

    • BasicAuthentication

      public BasicAuthentication(String authenticationString, Database database)
  • Method Details

    • getUser

      public User getUser()
      Description copied from interface: Authentication
      Obtain the WebUser related to this authentication.
      Specified by:
      getUser in interface Authentication
      Returns:
      Web user for the authentication.