public class ClientKey extends Object implements Serializable
Constructor and Description |
---|
ClientKey(String serviceId,
String userName,
String password) |
Modifier and Type | Method and Description |
---|---|
static String |
serviceIdFrom(String requestUri) |
static String[] |
usernamePasswordFromInfoObject(Map<String,Object> infoObject,
cn.home1.oss.lib.common.crypto.EncodeDecryptor decryptor)
To get the plain username and password; To modify the encrypted info to a constant String.
|
public static String[] usernamePasswordFromInfoObject(Map<String,Object> infoObject, cn.home1.oss.lib.common.crypto.EncodeDecryptor decryptor)
infoObject
- decryptor
- Copyright © 2017. All rights reserved.