Package ome.security.auth
Interface RoleProvider
-
- All Known Implementing Classes:
SimpleRoleProvider
public interface RoleProvider
Providesuser
andgroup
creation, deletion, and modification for use by services. All invocations are assumed "trusted" (services are responsible for authorization, and will take part in the current Hibernatesession
.- Since:
- 4.0
- See Also:
IAdmin
,SecuritySystem
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addGroups(ome.model.meta.Experimenter user, ome.model.meta.ExperimenterGroup... groups)
long
createExperimenter(ome.model.meta.Experimenter experimenter, ome.model.meta.ExperimenterGroup defaultGroup, ome.model.meta.ExperimenterGroup... otherGroups)
long
createGroup(java.lang.String name, ome.model.internal.Permissions perms, boolean strict)
long
createGroup(java.lang.String name, ome.model.internal.Permissions perms, boolean strict, boolean isLdap)
long
createGroup(ome.model.meta.ExperimenterGroup group)
boolean
isIgnoreCaseLookup()
java.lang.String
nameById(long id)
void
removeGroups(ome.model.meta.Experimenter user, ome.model.meta.ExperimenterGroup... groups)
void
setDefaultGroup(ome.model.meta.Experimenter user, ome.model.meta.ExperimenterGroup group)
void
setGroupOwner(ome.model.meta.Experimenter user, ome.model.meta.ExperimenterGroup group, boolean value)
-
-
-
Method Detail
-
nameById
java.lang.String nameById(long id)
-
createGroup
long createGroup(ome.model.meta.ExperimenterGroup group)
-
createGroup
long createGroup(java.lang.String name, ome.model.internal.Permissions perms, boolean strict)
-
createGroup
long createGroup(java.lang.String name, ome.model.internal.Permissions perms, boolean strict, boolean isLdap)
-
createExperimenter
long createExperimenter(ome.model.meta.Experimenter experimenter, ome.model.meta.ExperimenterGroup defaultGroup, ome.model.meta.ExperimenterGroup... otherGroups)
-
setDefaultGroup
void setDefaultGroup(ome.model.meta.Experimenter user, ome.model.meta.ExperimenterGroup group)
-
setGroupOwner
void setGroupOwner(ome.model.meta.Experimenter user, ome.model.meta.ExperimenterGroup group, boolean value)
-
addGroups
void addGroups(ome.model.meta.Experimenter user, ome.model.meta.ExperimenterGroup... groups)
-
removeGroups
void removeGroups(ome.model.meta.Experimenter user, ome.model.meta.ExperimenterGroup... groups)
-
isIgnoreCaseLookup
boolean isIgnoreCaseLookup()
-
-