Class BasicAuthenticationInformation

java.lang.Object
se.liu.ida.hefquin.federation.authentication.BasicAuthenticationInformation
All Implemented Interfaces:
AuthenticationInformation

public class BasicAuthenticationInformation extends Object implements AuthenticationInformation
Authentication information for basic authentication.

The username and password are combined into a single string by joining them with a colon and then encoded using Base64.

The resulting value is applied to outgoing HTTP requests using an Authorization header with the Basic authentication scheme. This class supports applying the authentication information to different HTTP request representations used by HeFQUIN.

  • Constructor Details

    • BasicAuthenticationInformation

      public BasicAuthenticationInformation(String username, String password)
  • Method Details