Package org.apache.accumulo.test.proxy
Class TestProxySecurityOperations
- java.lang.Object
-
- org.apache.accumulo.test.proxy.TestProxySecurityOperations
-
public class TestProxySecurityOperations extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected static int
port
protected static org.apache.thrift.server.TServer
proxy
protected static String
testnamespace
protected static ByteBuffer
testpw
protected static String
testtable
protected static String
testuser
protected static TestProxyClient
tpc
protected static ByteBuffer
userpass
-
Constructor Summary
Constructors Constructor Description TestProxySecurityOperations()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
authenticate()
void
auths()
void
create()
void
deleteTestTable()
void
makeTestTableAndUser()
void
namespacePermissions()
static void
setup()
void
systemPermissions()
void
tablePermissions()
static void
tearDown()
-
-
-
Field Detail
-
proxy
protected static org.apache.thrift.server.TServer proxy
-
tpc
protected static TestProxyClient tpc
-
userpass
protected static ByteBuffer userpass
-
port
protected static final int port
- See Also:
- Constant Field Values
-
testtable
protected static final String testtable
- See Also:
- Constant Field Values
-
testuser
protected static final String testuser
- See Also:
- Constant Field Values
-
testnamespace
protected static final String testnamespace
- See Also:
- Constant Field Values
-
testpw
protected static final ByteBuffer testpw
-
-
Method Detail
-
tearDown
public static void tearDown() throws InterruptedException
- Throws:
InterruptedException
-
create
public void create() throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
authenticate
public void authenticate() throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
tablePermissions
public void tablePermissions() throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
systemPermissions
public void systemPermissions() throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
auths
public void auths() throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
namespacePermissions
public void namespacePermissions() throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
-