Commit b6119cdf authored by Adrian Damian's avatar Adrian Damian
Browse files

Small fix

parent 62110d22
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -197,7 +197,7 @@ public class LdapGroupDAO<T extends Principal> extends LdapDAO
        {
            LdapDAO.checkLdapResult(e.getResultCode(), 
                    e.getDiagnosticMessage());
            return null; //TODO
            throw new RuntimeException("Unexpected LDAP exception", e);
        } 
    }
    
@@ -303,8 +303,8 @@ public class LdapGroupDAO<T extends Principal> extends LdapDAO
        catch (LDAPException e)
        {
            LdapDAO.checkLdapResult(e.getResultCode(), e.getDiagnosticMessage());
            throw new RuntimeException("Unexpected LDAP exception", e);
        }
        return null;
    }


@@ -788,8 +788,8 @@ public class LdapGroupDAO<T extends Principal> extends LdapDAO
                for (SearchResultEntry result : results.getSearchEntries())
                {
                    String groupName = result.getAttributeValue("cn");
                    groups.add(new Group(groupName, null));
                }

            } 
            catch (LDAPException e)
            {
+1 −1
Original line number Diff line number Diff line
@@ -342,8 +342,8 @@ public class LdapUserDAO<T extends Principal> extends LdapDAO
        catch (LDAPException e)
        {
            LdapDAO.checkLdapResult(e.getResultCode(), e.getDiagnosticMessage());
            throw new RuntimeException("Unexpected LDAP exception", e);
        }
        return false;
    }
    
    /**