Package io.dropwizard.auth.basic
Class BasicCredentials
- java.lang.Object
-
- io.dropwizard.auth.basic.BasicCredentials
-
public class BasicCredentials extends Object
A set of user-provided Basic Authentication credentials, consisting of a username and a password.
-
-
Constructor Summary
Constructors Constructor Description BasicCredentials(String username, String password)
Creates a new BasicCredentials with the given username and password.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
String
getPassword()
Returns the credentials' password.String
getUsername()
Returns the credentials' username.int
hashCode()
String
toString()
-