304305306307308309310311312313314
: connection.lookup( dn, attributes ); return entry == null ? null : entryMapper.map( entry ); } catch ( LdapException e ) { throw new LdapRuntimeException( e ); } finally { returnLdapConnection( connection ); }
379380381382383384385386387388389
modifyPassword( connection, userDn, newPassword ); } catch ( LdapException e ) { throw new LdapRuntimeException( e ); } finally { if ( asAdmin ) {
405406407408409410411412413
{ requestBuilder.buildRequest( modifyRequest ); } catch ( LdapException e ) { throw new LdapRuntimeException( e ); } return modify( modifyRequest ); }
422423424425426427428429430431432
connection = connectionPool.getConnection(); return connection.modify( modifyRequest ); } catch ( LdapException e ) { throw new LdapRuntimeException( e ); } finally { returnLdapConnection( connection ); }
550551552553554555556557558
{ connectionPool.releaseConnection( connection ); } catch ( LdapException e ) { throw new LdapRuntimeException( e ); } } }
691692693694695696697698699700701
entries.add( entryMapper.map( entry ) ); } } catch ( LdapException e ) { throw new LdapRuntimeException( e ); } finally { returnLdapConnection( connection ); }
8990919293949596
{ return new Dn( dn ); } catch ( LdapInvalidDnException e ) { throw new LdapRuntimeException( e ); } }
164165166167168169170171172
searchRequest.addAttributes( attributes ); } } catch ( LdapException e ) { throw new LdapRuntimeException( e ); } return searchRequest; }