Package org.fcrepo.client.integration
Class FcrepoAuthenticationIT
- java.lang.Object
-
- org.fcrepo.client.integration.AbstractResourceIT
-
- org.fcrepo.client.integration.FcrepoAuthenticationIT
-
public class FcrepoAuthenticationIT extends AbstractResourceIT
- Author:
- mohideen
-
-
Field Summary
-
Fields inherited from class org.fcrepo.client.integration.AbstractResourceIT
HOSTNAME, SERVER_ADDRESS, SERVER_PORT
-
-
Constructor Summary
Constructors Constructor Description FcrepoAuthenticationIT()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidafterClass()voidbefore()static voidbeforeClass()voidtestAuthUserCanGet()voidtestAuthUserCanPatch()voidtestAuthUserCanPost()voidtestAuthUserCanPut()voidtestAuthUserNoHostCanGet()voidtestAuthUserNoHostCanPatch()voidtestAuthUserNoHostCanPost()voidtestAuthUserNoHostCanPut()voidtestUnAuthUserCannotGet()voidtestUnAuthUserCannotPatch()voidtestUnAuthUserCannotPost()voidtestUnAuthUserCannotPut()-
Methods inherited from class org.fcrepo.client.integration.AbstractResourceIT
getResponseModel
-
-
-
-
Constructor Detail
-
FcrepoAuthenticationIT
public FcrepoAuthenticationIT()
-
-
Method Detail
-
beforeClass
public static void beforeClass()
-
afterClass
public static void afterClass() throws IOException
- Throws:
IOException
-
before
public void before()
-
testAuthUserCanPut
public void testAuthUserCanPut() throws Exception
- Throws:
Exception
-
testAuthUserNoHostCanPut
public void testAuthUserNoHostCanPut() throws Exception
- Throws:
Exception
-
testUnAuthUserCannotPut
public void testUnAuthUserCannotPut() throws Exception
- Throws:
Exception
-
testAuthUserCanPatch
public void testAuthUserCanPatch() throws Exception
- Throws:
Exception
-
testAuthUserNoHostCanPatch
public void testAuthUserNoHostCanPatch() throws Exception
- Throws:
Exception
-
testUnAuthUserCannotPatch
public void testUnAuthUserCannotPatch() throws Exception
- Throws:
Exception
-
testAuthUserCanPost
public void testAuthUserCanPost() throws Exception
- Throws:
Exception
-
testAuthUserNoHostCanPost
public void testAuthUserNoHostCanPost() throws Exception
- Throws:
Exception
-
testUnAuthUserCannotPost
public void testUnAuthUserCannotPost() throws Exception
- Throws:
Exception
-
testAuthUserCanGet
public void testAuthUserCanGet() throws Exception
- Throws:
Exception
-
testAuthUserNoHostCanGet
public void testAuthUserNoHostCanGet() throws Exception
- Throws:
Exception
-
testUnAuthUserCannotGet
public void testUnAuthUserCannotGet() throws Exception
- Throws:
Exception
-
-