From 7db520cc6427537c2c4ec6c074f40876fe7ede67 Mon Sep 17 00:00:00 2001 From: Alinga Yeung <Alinga.Yeung@nrc-cnrc.gc.ca> Date: Tue, 11 Aug 2015 11:06:09 -0700 Subject: [PATCH] Story ac2 rework. Changed methods to package level. --- .../src/ca/nrc/cadc/ac/server/ldap/LdapUserPersistence.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/cadcAccessControl-Server/src/ca/nrc/cadc/ac/server/ldap/LdapUserPersistence.java b/projects/cadcAccessControl-Server/src/ca/nrc/cadc/ac/server/ldap/LdapUserPersistence.java index d8645593..6a042cc3 100755 --- a/projects/cadcAccessControl-Server/src/ca/nrc/cadc/ac/server/ldap/LdapUserPersistence.java +++ b/projects/cadcAccessControl-Server/src/ca/nrc/cadc/ac/server/ldap/LdapUserPersistence.java @@ -332,7 +332,7 @@ public class LdapUserPersistence<T extends Principal> * @throws TransientException If an temporary, unexpected problem occurred. * @throws AccessControlException If the operation is not permitted. */ - protected Collection<DN> getUserGroups(T userID, boolean isAdmin) + Collection<DN> getUserGroups(T userID, boolean isAdmin) throws UserNotFoundException, TransientException, AccessControlException { LdapUserDAO<T> userDAO = null; @@ -363,7 +363,7 @@ public class LdapUserPersistence<T extends Principal> * @throws TransientException If an temporary, unexpected problem occurred. * @throws AccessControlException If the operation is not permitted. */ - protected boolean isMember(T userID, String groupID) + boolean isMember(T userID, String groupID) throws UserNotFoundException, TransientException, AccessControlException { -- GitLab