Class HttpAuthenticationFilter.Credentials
java.lang.Object
org.glassfish.jersey.client.authentication.HttpAuthenticationFilter.Credentials
- Enclosing class:
HttpAuthenticationFilter
Credentials (username + password).
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCredentials(String username, byte[] password) Create a new credentials from username and password as byte array.Credentials(String username, String password) Create a new credentials from username and password asString. -
Method Summary
Modifier and TypeMethodDescription(package private) byte[]Return password as byte array.(package private) StringReturn username.
-
Field Details
-
username
-
password
private final byte[] password
-
-
Constructor Details
-
Credentials
Credentials(String username, byte[] password) Create a new credentials from username and password as byte array.- Parameters:
username- Username.password- Password as byte array.
-
Credentials
-
-
Method Details
-
getUsername
-
getPassword
byte[] getPassword()Return password as byte array.- Returns:
- Password string in byte array representation.
-