public class Authentication
extends java.lang.Object
Constructor and Description |
---|
Authentication() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
basic(java.lang.String usernamePassword) |
static java.lang.String |
basic(java.lang.String user,
java.lang.String pass)
Returns a basic encoded response string.
|
static java.lang.String |
digest(java.lang.String user,
java.lang.String pass,
java.lang.String requestMethod,
java.lang.String uri,
java.lang.String header)
Returns a digest encoded response string.
|
static java.lang.String |
getAuthorization(java.lang.String user,
java.lang.String pass,
java.lang.String requestMethod,
java.lang.String uri,
java.lang.String header)
Returns an authorization response string.
|
public static java.lang.String getAuthorization(java.lang.String user, java.lang.String pass, java.lang.String requestMethod, java.lang.String uri, java.lang.String header)
public static java.lang.String basic(java.lang.String user, java.lang.String pass)
public static java.lang.String basic(java.lang.String usernamePassword)
public static java.lang.String digest(java.lang.String user, java.lang.String pass, java.lang.String requestMethod, java.lang.String uri, java.lang.String header)