Interface SecurityController
- 
- All Known Implementing Classes:
- SecurityControllerImpl
 
 public interface SecurityControllerNote: do not use parameterized collections as parameters for ajax methods in this class! Type information is lost during proxy creation so DWR can't figure out what type of collection the method should take. See bug 2756. Use arrays instead.- Author:
- paul
 
- 
- 
Method Summary
 
- 
- 
- 
Method Detail- 
deleteGroupvoid deleteGroup(String groupName) AJAX- Parameters:
- groupName- group name
- Throws:
- ConstraintViolationException- cannot remove a group if it is being used to set any permission, remove permission settings first (is thrown if the acl_entry table has rows with this sid)
 
 - 
getAuthenticatedUserCountInteger getAuthenticatedUserCount() 
 - 
getAuthenticatedUserNamesCollection<String> getAuthenticatedUserNames() 
 - 
getAvailableGroupsCollection<UserGroupValueObject> getAvailableGroups() AJAX- Returns:
- List of group names the user can add members to and/or give permissions on objects to.
 
 - 
getAvailablePrincipalSidsCollection<SidValueObject> getAvailablePrincipalSids() Return a list of principals that is users- Returns:
- SidValueObjects
 
 - 
getAvailableSidsCollection<SidValueObject> getAvailableSids() AJAX, but administrator-only!- Returns:
- SID VOs
 
 - 
getGroupMembersCollection<UserValueObject> getGroupMembers(String groupName) 
 - 
getSecurityInfoSecurityInfoValueObject getSecurityInfo(EntityDelegator<? extends gemma.gsec.model.Securable> ed) 
 - 
getUsersDataCollection<SecurityInfoValueObject> getUsersData(String currentGroup, boolean privateOnly) AJAX- Parameters:
- currentGroup- A specific group that we're focusing on. Can be null. Used to populate client-side checkboxes to show permissions.
- privateOnly- Only show data that are private (non-publicly readable); otherwise show all the data for the user. This option is probably of most use to administrators.
- Returns:
- security info VO
 
 - 
makeGroupReadableboolean makeGroupReadable(EntityDelegator<? extends gemma.gsec.model.Securable> ed, String groupName) 
 - 
makeGroupWriteableboolean makeGroupWriteable(EntityDelegator<? extends gemma.gsec.model.Securable> ed, String groupName) 
 - 
makePrivateboolean makePrivate(EntityDelegator<? extends gemma.gsec.model.Securable> ed) 
 - 
makePublicboolean makePublic(EntityDelegator<? extends gemma.gsec.model.Securable> ed) 
 - 
removeGroupReadableboolean removeGroupReadable(EntityDelegator<? extends gemma.gsec.model.Securable> ed, String groupName) 
 - 
removeGroupWriteableboolean removeGroupWriteable(EntityDelegator<? extends gemma.gsec.model.Securable> ed, String groupName) 
 - 
setExpressionExperimentServicevoid setExpressionExperimentService(ExpressionExperimentService expressionExperimentService) 
 - 
updatePermissionSecurityInfoValueObject updatePermission(SecurityInfoValueObject settings) 
 - 
updatePermissionsvoid updatePermissions(SecurityInfoValueObject[] settings) 
 
- 
 
-