Class UserNamePasswordCredentials
- java.lang.Object
-
- com.helger.security.authentication.credentials.usernamepw.UserNamePasswordCredentials
-
- All Implemented Interfaces:
IAuthCredentials,IUserNamePasswordCredentials
@Immutable public class UserNamePasswordCredentials extends Object implements IUserNamePasswordCredentials
Default implementation of theIUserNamePasswordCredentialsinterface.- Author:
- Philip Helger
-
-
Constructor Summary
Constructors Constructor Description UserNamePasswordCredentials(String sUserName, String sPassword)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetPassword()StringgetUserName()inthashCode()StringtoString()
-
-
-
Method Detail
-
getUserName
@Nullable public final String getUserName()
- Specified by:
getUserNamein interfaceIUserNamePasswordCredentials- Returns:
- The user name to check. May be
null.
-
getPassword
@Nullable public final String getPassword()
- Specified by:
getPasswordin interfaceIUserNamePasswordCredentials- Returns:
- The password to check. May be
null.
-
-