Class BasicAuthentication

  • All Implemented Interfaces:
    Authentication

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

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

    • Constructor Summary

      Constructors 
      Constructor Description
      BasicAuthentication​(java.lang.String authenticationString, Database database)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      User getUser()
      Obtain the WebUser related to this authentication.
      • 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 authenticationString,
                                   Database database)
    • Method Detail

      • 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.