"ACL ALLOW-LOG admin ACCESS METHOD component='ServerInformation' name='getManagementApiMajorVersion'");
}
public void testServerInformationAccessGranted() throws Exception
{
ServerInformation info = _jmx.getServerInformation();
info.getManagementApiMajorVersion();
try
{
info.getManagementApiMinorVersion();
fail("Exception not thrown");
}
catch (SecurityException e)
{
assertEquals("Cause message incorrect", "Permission denied: Access getManagementApiMinorVersion", e.getMessage());