Class BasicAuthorizationHeader

java.lang.Object
dev.getelements.elements.sdk.util.security.BasicAuthorizationHeader

public class BasicAuthorizationHeader extends Object
Created by patricktwohig on 8/1/17.
  • Field Details

    • DEFAULT_ENCODING

      public static final String DEFAULT_ENCODING
      Constant for the default character encoding of the credentials (UTF-8)
      See Also:
  • Constructor Details

    • BasicAuthorizationHeader

      public BasicAuthorizationHeader(String encoding, String header)
  • Method Details

    • getUsername

      public String getUsername()
      Gets the username.
      Returns:
      the username
    • getPassword

      public String getPassword()
      Gets the pass word.
      Returns:
      the password