Class BasicAuth

java.lang.Object
oracle.stellent.ridc.common.http.utils.BasicAuth

@Concealed public final class BasicAuth extends Object
Generates basic Auth credentials
  • Constructor Details

    • BasicAuth

      public BasicAuth()
  • Method Details

    • authorization

      public static String authorization(String userName, String password)
    • authorization

      public static String authorization(String userName, char[] password)
    • base64EncodedUserNamePassword

      public static String base64EncodedUserNamePassword(String userName, char[] password)
    • authorization

      public static String authorization(Credentials.BasicCredentials credentials)