Hi,
I have tried to access a webmap in my enterprise portal (airgapped) from a runtime java application. When I try to access my enterprise portal using the following code
AuthenticationManager.setAuthenticationChallengeHandler(new DefaultAuthenticationChallengeHandler());
Portal portal = new Portal("http://xyz.com/arcgisportal",true")
portal.loadAsync()
A new window for entering user credentials is appearing on the screen and I have entered the credentials, but I am not able to access the webmap and when i Print
System.out.println(portal.getPortalInfo);
Null is coming.
Pls Suggest a solution
Thanks
J Jacob