public final class LlapTokenChecker extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
LlapTokenChecker.LlapTokenInfo |
| Constructor and Description |
|---|
LlapTokenChecker() |
| Modifier and Type | Method and Description |
|---|---|
static void |
checkPermissions(LlapTokenChecker.LlapTokenInfo prm,
String userName,
String appId,
Object hint) |
static void |
checkPermissions(String clusterId,
String userName,
String appId,
Object hint) |
static LlapTokenChecker.LlapTokenInfo |
getTokenInfo(String clusterId) |
static void |
warnMultipleTokens(List<LlapTokenIdentifier> tokens) |
public static LlapTokenChecker.LlapTokenInfo getTokenInfo(String clusterId) throws IOException
IOExceptionpublic static void warnMultipleTokens(List<LlapTokenIdentifier> tokens)
public static void checkPermissions(String clusterId, String userName, String appId, Object hint) throws IOException
IOExceptionpublic static void checkPermissions(LlapTokenChecker.LlapTokenInfo prm, String userName, String appId, Object hint)
Copyright © 2019 The Apache Software Foundation. All Rights Reserved.