| | |
| | | @Override() |
| | | public boolean supportsNestedGroups() |
| | | { |
| | | // Dynamic groups don't support nesting. |
| | | // Virtual static groups don't support nesting. |
| | | return false; |
| | | } |
| | | |
| | |
| | | @Override() |
| | | public List<DN> getNestedGroupDNs() |
| | | { |
| | | // Dynamic groups don't support nesting. |
| | | // Virtual static groups don't support nesting. |
| | | return Collections.<DN>emptyList(); |
| | | } |
| | | |
| | |
| | | public void addNestedGroup(DN nestedGroupDN) |
| | | throws UnsupportedOperationException, DirectoryException |
| | | { |
| | | // Dynamic groups don't support nesting. |
| | | // Virtual static groups don't support nesting. |
| | | int msgID = MSGID_VIRTUAL_STATIC_GROUP_NESTING_NOT_SUPPORTED; |
| | | String message = getMessage(msgID); |
| | | throw new UnsupportedOperationException(message); |
| | |
| | | public void removeNestedGroup(DN nestedGroupDN) |
| | | throws UnsupportedOperationException, DirectoryException |
| | | { |
| | | // Dynamic groups don't support nesting. |
| | | // Virtual static groups don't support nesting. |
| | | int msgID = MSGID_VIRTUAL_STATIC_GROUP_NESTING_NOT_SUPPORTED; |
| | | String message = getMessage(msgID); |
| | | throw new UnsupportedOperationException(message); |
| | |
| | | public void addMember(Entry userEntry) |
| | | throws UnsupportedOperationException, DirectoryException |
| | | { |
| | | // Dynamic groups don't support altering the member list. |
| | | // Virtual static groups don't support altering the member list. |
| | | int msgID = MSGID_VIRTUAL_STATIC_GROUP_ALTERING_MEMBERS_NOT_SUPPORTED; |
| | | String message = getMessage(msgID, String.valueOf(groupEntryDN)); |
| | | throw new UnsupportedOperationException(message); |
| | |
| | | public void removeMember(DN userDN) |
| | | throws UnsupportedOperationException, DirectoryException |
| | | { |
| | | // Dynamic groups don't support altering the member list. |
| | | // Virtual static groups don't support altering the member list. |
| | | int msgID = MSGID_VIRTUAL_STATIC_GROUP_ALTERING_MEMBERS_NOT_SUPPORTED; |
| | | String message = getMessage(msgID, String.valueOf(groupEntryDN)); |
| | | throw new UnsupportedOperationException(message); |