public class Credentials extends Object
| Constructor and Description |
|---|
Credentials(org.codehaus.jettison.json.JSONObject cred)
Note: invoked from JAX-RS message body reader (see Webservice's ObjectProvider.java).
|
Credentials(String authHeader) |
Credentials(String username,
String password) |
public Credentials(String username, String password)
password - as plain textpublic Credentials(org.codehaus.jettison.json.JSONObject cred)
cred - A JSON object with 2 properties: "username" and "password".
The password is expected to be SHA256 encoded.public Credentials(String authHeader)
Copyright © 2017. All rights reserved.