| | |
| | | "--set", "quality-of-protection:" + "integrity"); |
| | | |
| | | //Configure JNDI props. |
| | | Hashtable<String, String> env = new Hashtable<String, String>(); |
| | | Hashtable<String, String> env = new Hashtable<>(); |
| | | env.put(Context.INITIAL_CONTEXT_FACTORY, factory); |
| | | int port = TestCaseUtils.getServerLdapPort(); |
| | | String url = "ldap://localhost:" + Integer.valueOf(port); |
| | |
| | | "set-sasl-mechanism-handler-prop", |
| | | "--handler-name", "DIGEST-MD5", |
| | | "--set", "quality-of-protection:" + "confidentiality"); |
| | | Hashtable<String, String> env = new Hashtable<String, String>(); |
| | | Hashtable<String, String> env = new Hashtable<>(); |
| | | env.put(Context.INITIAL_CONTEXT_FACTORY, factory); |
| | | int port = TestCaseUtils.getServerLdapPort(); |
| | | String url = "ldap://localhost:" + Integer.valueOf(port); |