Class HttpCredentialsImpl
java.lang.Object
net.officefloor.web.security.scheme.HttpCredentialsImpl
- All Implemented Interfaces:
HttpCredentials
HttpCredentials implementation.- Author:
- Daniel Sagenschneider
-
Constructor Summary
ConstructorsConstructorDescriptionHttpCredentialsImpl(String username, byte[] password) Initiate.HttpCredentialsImpl(String username, String password) Convenience constructor for providing aStringpassword. -
Method Summary
Modifier and TypeMethodDescriptionbyte[]Obtains the password.Obtains the username.
-
Constructor Details
-
HttpCredentialsImpl
Initiate.- Parameters:
username- Username.password- Password.
-
HttpCredentialsImpl
Convenience constructor for providing aStringpassword.- Parameters:
username- Username.password- Password.
-
-
Method Details
-
getUsername
Description copied from interface:HttpCredentialsObtains the username.- Specified by:
getUsernamein interfaceHttpCredentials- Returns:
- Username.
-
getPassword
public byte[] getPassword()Description copied from interface:HttpCredentialsObtains the password.- Specified by:
getPasswordin interfaceHttpCredentials- Returns:
- Password.
-