Class AuthRequest
- java.lang.Object
-
- org.apache.zookeeper.server.admin.AuthRequest
-
public class AuthRequest extends Object
Class representing auth data for performing ACL check on admin server commands. For example, SnapshotCommand requiresZooDefs.Perms.ALL
permission on the root node.
-
-
Constructor Summary
Constructors Constructor Description AuthRequest(int permission, String path)
-
-
-
Constructor Detail
-
AuthRequest
public AuthRequest(int permission, String path)
- Parameters:
permission
- the required permission for auth checkpath
- the ZNode path for auth check
-
-