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
IOException
public static void warnMultipleTokens(List<LlapTokenIdentifier> tokens)
public static void checkPermissions(String clusterId, String userName, String appId, Object hint) throws IOException
IOException
public static void checkPermissions(LlapTokenChecker.LlapTokenInfo prm, String userName, String appId, Object hint)
Copyright © 2021 The Apache Software Foundation. All rights reserved.