public class AclCommands
extends com.mapr.cliframework.base.CLIBaseClass
implements com.mapr.cliframework.base.CLIInterface
| Modifier and Type | Field and Description |
|---|---|
static com.mapr.cliframework.base.CLICommand |
aclCommands |
| Constructor and Description |
|---|
AclCommands(com.mapr.cliframework.base.ProcessedInput input,
com.mapr.cliframework.base.CLICommand cliCommand) |
| Modifier and Type | Method and Description |
|---|---|
static java.util.List<com.mapr.fs.proto.Security.AclEntry> |
actionsToAcls(java.util.List<java.lang.String> perms,
com.mapr.security.UnixUserGroupHelper uInfo,
com.mapr.fs.cldb.proto.CLDBProto.SecureObjectType objType,
boolean isUser,
com.mapr.cliframework.base.CommandOutput.OutputHierarchy out) |
com.mapr.cliframework.base.CommandOutput |
executeRealCommand() |
static com.mapr.cliframework.base.CommandOutput.OutputHierarchy |
formatAcl(com.mapr.fs.proto.Security.AccessControlList acl,
com.mapr.fs.cldb.proto.CLDBProto.SecureObjectType objType,
java.lang.String outputFormat,
com.mapr.security.UnixUserGroupHelper uInfo,
java.util.List<java.lang.Integer> unknownUids,
java.util.List<java.lang.Integer> unknownGids) |
java.lang.String |
getCommandUsage() |
executeCommand, executeSimpleSHHCommand, executeSimpleSHHCommand, getCLICommand, getGIds, getInput, getKeyType, getParamBooleanValue, getParamDateValue, getParamIntValue, getParamLongValue, getParamObjectValue, getParamTextValue, getUserCredentials, getUserId, getUserLoginId, getVersion, isParamPresent, isParamValueEmpty, setServerCall, setUserCredentials, setVersion, validateInputpublic AclCommands(com.mapr.cliframework.base.ProcessedInput input,
com.mapr.cliframework.base.CLICommand cliCommand)
public static com.mapr.cliframework.base.CommandOutput.OutputHierarchy formatAcl(com.mapr.fs.proto.Security.AccessControlList acl,
com.mapr.fs.cldb.proto.CLDBProto.SecureObjectType objType,
java.lang.String outputFormat,
com.mapr.security.UnixUserGroupHelper uInfo,
java.util.List<java.lang.Integer> unknownUids,
java.util.List<java.lang.Integer> unknownGids)
public static java.util.List<com.mapr.fs.proto.Security.AclEntry> actionsToAcls(java.util.List<java.lang.String> perms,
com.mapr.security.UnixUserGroupHelper uInfo,
com.mapr.fs.cldb.proto.CLDBProto.SecureObjectType objType,
boolean isUser,
com.mapr.cliframework.base.CommandOutput.OutputHierarchy out)
public com.mapr.cliframework.base.CommandOutput executeRealCommand()
throws com.mapr.cliframework.base.CLIProcessingException
executeRealCommand in class com.mapr.cliframework.base.CLIBaseClasscom.mapr.cliframework.base.CLIProcessingExceptionpublic java.lang.String getCommandUsage()
getCommandUsage in class com.mapr.cliframework.base.CLIBaseClass