Class SecurityController
- java.lang.Object
-
- ubic.gemma.web.controller.common.auditAndSecurity.SecurityController
-
@Controller public class SecurityController extends Object
Manages data-level security (ie. can make data private).
-
-
Constructor Summary
Constructors Constructor Description SecurityController()
-
Method Summary
-
-
-
Method Detail
-
deleteGroup
public void deleteGroup(String groupName)
-
getAuthenticatedUserCount
public Integer getAuthenticatedUserCount()
-
getAuthenticatedUserNames
public Collection<String> getAuthenticatedUserNames()
-
getAvailableGroups
public Collection<UserGroupValueObject> getAvailableGroups()
-
getAvailablePrincipalSids
public Collection<SidValueObject> getAvailablePrincipalSids()
-
getAvailableSids
public Collection<SidValueObject> getAvailableSids()
-
getGroupMembers
public Collection<UserValueObject> getGroupMembers(String groupName)
-
getSecurityInfo
public SecurityInfoValueObject getSecurityInfo(EntityDelegator<? extends Securable> ed)
-
getUsersData
public Collection<SecurityInfoValueObject> getUsersData(String currentGroup, boolean privateOnly)
-
makeGroupReadable
public boolean makeGroupReadable(EntityDelegator<? extends Securable> ed, String groupName)
-
makeGroupWriteable
public boolean makeGroupWriteable(EntityDelegator<? extends Securable> ed, String groupName)
-
makePrivate
public boolean makePrivate(EntityDelegator<? extends Securable> ed)
-
makePublic
public boolean makePublic(EntityDelegator<? extends Securable> ed)
-
removeGroupReadable
public boolean removeGroupReadable(EntityDelegator<? extends Securable> ed, String groupName)
-
removeGroupWriteable
public boolean removeGroupWriteable(EntityDelegator<? extends Securable> ed, String groupName)
-
setExpressionExperimentService
public void setExpressionExperimentService(ExpressionExperimentService expressionExperimentService)
-
updatePermission
public SecurityInfoValueObject updatePermission(SecurityInfoValueObject settings)
-
updatePermissions
public void updatePermissions(SecurityInfoValueObject[] settings)
-
-