| | |
| | | * credentials are OK and refused when the credentials are invalid. |
| | | * |
| | | */ |
| | | @Test(dataProvider="simpleConnect") |
| | | @Test(enabled = false, dataProvider="simpleConnect") |
| | | public void simpleConnect(String user, String password, |
| | | boolean expectedResult) throws Exception |
| | | { |
| | |
| | | * Test simple JMX get. |
| | | * |
| | | */ |
| | | @Test(dataProvider="simpleGet") |
| | | @Test(enabled = false, dataProvider="simpleGet") |
| | | public void simpleGet(String dn, String attributeName, Object value) |
| | | throws Exception |
| | | { |
| | |
| | | /** |
| | | * Test setting some config attribute through jmx. |
| | | */ |
| | | @Test() |
| | | @Test(enabled = false) |
| | | public void simpleSet() throws Exception |
| | | { |
| | | OpendsJmxConnector connector = connect("cn=directory manager", "password", |
| | |
| | | * |
| | | * @throws Exception |
| | | */ |
| | | @Test() |
| | | @Test(enabled = false) |
| | | public void disable() throws Exception |
| | | { |
| | | OpendsJmxConnector connector = connect("cn=directory manager", "password", |
| | |
| | | * Test changing JMX port through LDAP |
| | | * @throws Exception |
| | | */ |
| | | @Test(enabled=true) |
| | | @Test(enabled=false) |
| | | public void changePort() throws Exception |
| | | { |
| | | // Connect to the JMX service and get the current port |
| | |
| | | * credentials are OK and refused when the credentials are invalid. |
| | | * |
| | | */ |
| | | @Test(enabled=true) |
| | | @Test(enabled=false) |
| | | public void sslConnect() throws Exception |
| | | { |
| | | // configure the JMX ssl key manager |