public class TokenMAC extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
KNOX_TOKEN_HASH_KEY_ALIAS_NAME |
| Constructor and Description |
|---|
TokenMAC(String algorithm,
char[] knoxTokenHashKey) |
| Modifier and Type | Method and Description |
|---|---|
String |
hash(String tokenId,
long issueTime,
String userName,
String toBeHashed) |
public static final String KNOX_TOKEN_HASH_KEY_ALIAS_NAME
public TokenMAC(String algorithm, char[] knoxTokenHashKey) throws ServiceLifecycleException
ServiceLifecycleExceptionCopyright © 2022 The Apache Software Foundation. All rights reserved.