@ContextConfiguration(value="/spring-test/test-container.xml") public class FcrepoAuthenticationIT extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static org.fcrepo.client.FcrepoClient |
authClient |
protected static org.fcrepo.client.FcrepoClient |
client |
protected org.apache.http.impl.conn.PoolingHttpClientConnectionManager |
connectionManager |
protected static String |
HOSTNAME |
protected static int |
SERVER_PORT |
protected static String |
serverAddress |
| Constructor and Description |
|---|
FcrepoAuthenticationIT() |
| Modifier and Type | Method and Description |
|---|---|
void |
testAuthUserCanGet() |
void |
testAuthUserCanPatch() |
void |
testAuthUserCanPost() |
void |
testAuthUserCanPut() |
void |
testUnAuthUserCannotGet() |
void |
testUnAuthUserCannotPatch() |
void |
testUnAuthUserCannotPost() |
void |
testUnAuthUserCannotPut() |
protected static final int SERVER_PORT
protected static final String HOSTNAME
protected static final String serverAddress
protected final org.apache.http.impl.conn.PoolingHttpClientConnectionManager connectionManager
protected static org.fcrepo.client.FcrepoClient client
protected static org.fcrepo.client.FcrepoClient authClient
public FcrepoAuthenticationIT() throws Exception
Exceptionpublic void testAuthUserCanPut() throws Exception
Exceptionpublic void testUnAuthUserCannotPut() throws Exception
Exceptionpublic void testAuthUserCanPatch() throws Exception
Exceptionpublic void testUnAuthUserCannotPatch() throws Exception
Exceptionpublic void testAuthUserCanPost() throws Exception
Exceptionpublic void testUnAuthUserCannotPost() throws Exception
Exceptionpublic void testAuthUserCanGet() throws Exception
Exceptionpublic void testUnAuthUserCannotGet() throws Exception
ExceptionCopyright © 2013-2016 DuraSpace, Inc.. All Rights Reserved.