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 |
getAuthorizationHeaderValue() |
String |
getPassword()
Get the password.
|
String |
getUsername()
Get the username.
|
boolean |
isValid() |
String |
toString() |
public UserPassCredentials(String authorizationHeader)
authorizationHeader - the authorization headerpublic boolean isValid()
public String getUsername()
public String getPassword()
public String getAuthorizationHeaderValue()
Copyright © 2012–2013 SURFnet bv, The Netherlands. All rights reserved.