@Test(expected = IllegalArgumentException.class) public void testAddKeyAndDsnNull() throws Exception { ldapConfigurationStoreBuilder.addDsn(null, null); }
public LdapConfigurationStoreBuilder addDsn(final String distinguishedName, final String... tags) { checkStringArgument("distinguishedName", distinguishedName); ldapConfigurationStore = new LdapConfigurationStore(ldapConfigurationStore, readAttributesFromLdap(distinguishedName), tags); return this; }
LdapConfigurationStoreBuilder { public LdapConfigurationStoreBuilder addDsn(final String distinguishedName, final String... tags) { checkStringArgument("distinguishedName", distinguishedName); ldapConfigurationStore = new LdapConfigurationStore(ldapConfigurationStore, readAttributesFromLdap(distinguishedName), tags); return this; } }
LdapConfigurationStoreBuilder { public LdapConfigurationStoreBuilder addDsn(final String distinguishedName, final String... tags) { checkStringArgument("distinguishedName", distinguishedName); ldapConfigurationStore = new LdapConfigurationStore(ldapConfigurationStore, readAttributesFromLdap(distinguishedName), tags); return this; } private  LdapConfigurationStoreBuilder(final DirContext dirContext); }
LdapConfigurationStoreBuilder { public LdapConfigurationStoreBuilder addDsn(final String distinguishedName, final String... tags) { checkStringArgument("distinguishedName", distinguishedName); ldapConfigurationStore = new LdapConfigurationStore(ldapConfigurationStore, readAttributesFromLdap(distinguishedName), tags); return this; } private  LdapConfigurationStoreBuilder(final DirContext dirContext); static LdapConfigurationStoreBuilder usingDirContext(final DirContext dirContext); LdapConfigurationStoreBuilder addDsnWithKey(final String key,
                                                       final String distinguishedName,
                                                       String... tags); LdapConfigurationStoreBuilder addDsn(final String distinguishedName, final String... tags); LdapConfigurationStoreBuilder addUsingSearch(final String searchBase,
                                                        final String filter,
                                                        final String keyAttribute,
                                                        final String... tags); LdapConfigurationStore done(); }
LdapConfigurationStoreBuilder { public LdapConfigurationStoreBuilder addDsn(final String distinguishedName, final String... tags) { checkStringArgument("distinguishedName", distinguishedName); ldapConfigurationStore = new LdapConfigurationStore(ldapConfigurationStore, readAttributesFromLdap(distinguishedName), tags); return this; } private  LdapConfigurationStoreBuilder(final DirContext dirContext); static LdapConfigurationStoreBuilder usingDirContext(final DirContext dirContext); LdapConfigurationStoreBuilder addDsnWithKey(final String key,
                                                       final String distinguishedName,
                                                       String... tags); LdapConfigurationStoreBuilder addDsn(final String distinguishedName, final String... tags); LdapConfigurationStoreBuilder addUsingSearch(final String searchBase,
                                                        final String filter,
                                                        final String keyAttribute,
                                                        final String... tags); LdapConfigurationStore done(); static final String NULL_ARGUMENT; }