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 booleanequals(Object obj)StringgetPassword()Returns the credentials' password.StringgetUsername()Returns the credentials' username.inthashCode()StringtoString()
-