Commit b51a32db by nixonrodrigues Committed by Sarath Subramanian

ATLAS-2348: Authorization integration test failure

parent 4dc95339
...@@ -63,7 +63,7 @@ public class AtlasAuthenticationSimpleFilterIT extends BaseSecurityTest { ...@@ -63,7 +63,7 @@ public class AtlasAuthenticationSimpleFilterIT extends BaseSecurityTest {
public void testSimpleLoginAndAuthorizationWithValidCrendentialsAndInvalidAccessToResource() public void testSimpleLoginAndAuthorizationWithValidCrendentialsAndInvalidAccessToResource()
throws Exception { throws Exception {
try { try {
URL url = new URL("http://localhost:31000/api/atlas/v1/taxonomies"); URL url = new URL("http://localhost:31000/api/atlas/admin/stack");
HttpURLConnection connection = (HttpURLConnection) url.openConnection(); HttpURLConnection connection = (HttpURLConnection) url.openConnection();
connection.setRequestMethod("GET"); connection.setRequestMethod("GET");
String userpassword = "rangertagsync:rangertagsync"; //right password with no policy for taxonomies api String userpassword = "rangertagsync:rangertagsync"; //right password with no policy for taxonomies api
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment