public class UserPassCredentials extends Object
| Constructor and Description |
|---|
UserPassCredentials(String authorizationHeader)
Parse the username and password from the authorization header.
|
UserPassCredentials(String username,
String password) |
| Modifier and Type | Method and Description |
|---|---|
String |
getPassword()
Get the password.
|
String |
getUsername()
Get the username.
|
boolean |
isValid() |
String |
toString() |
public UserPassCredentials(String authorizationHeader)
authorizationHeader - the authorization headerCopyright © 2012 SURFnet bv, The Netherlands. All Rights Reserved.