// get the URL for the web server
String serverUrl = System.getProperty(Constants.WEBSERVER_URL_PROP);
serverUrl += SECURITY_PATH;
// set the login type and URL
AuthenticationInfo authInfo = new AuthenticationInfo(
AuthenticationInfo.Type.NONE, serverUrl);
ServerInfo.getServerDetails().setAuthInfo(authInfo);
// get the internal URL for the web server
serverUrl = System.getProperty(Constants.WEBSERVER_URL_INTERNAL_PROP);
serverUrl += SECURITY_PATH;
authInfo = new AuthenticationInfo(AuthenticationInfo.Type.NONE, serverUrl);
ServerInfo.getInternalServerDetails().setAuthInfo(authInfo);
}