Package com.illumon.iris.controller
Class IrisGroupProviderControllerImpl
java.lang.Object
com.illumon.iris.controller.IrisGroupProviderControllerImpl
- All Implemented Interfaces:
IrisGroupProvider
public class IrisGroupProviderControllerImpl extends Object implements IrisGroupProvider
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.illumon.iris.db.v2.permissions.IrisGroupProvider
IrisGroupProvider.UserType
-
Field Summary
Fields inherited from interface com.illumon.iris.db.v2.permissions.IrisGroupProvider
FULL_ACCESS_GROUP, IRIS_ACLEDITORS, IRIS_QUERYMANAGERS, IRIS_SCHEMAMANAGERS, IRIS_SUPERUSERS, NON_INTERACTIVE_GROUP, QUERY_VIEW_ONLY_GROUP
-
Constructor Summary
Constructors Constructor Description IrisGroupProviderControllerImpl(PersistentQueryControllerClient controllerClient)
-
Method Summary
Modifier and Type Method Description String[]
getAllGroups()
String[]
getAllUsers()
String[]
getGroupsForUser(com.fishlib.auth.UserContext userContext)
String[]
getUsersForGroup(String group)
IrisGroupProvider.UserType
getUserType(com.fishlib.auth.UserContext userContext)
boolean
isAclEditor(com.fishlib.auth.UserContext userContext)
boolean
isMember(com.fishlib.auth.UserContext userContext, String owner, String[] groups)
boolean
isQueryManager(com.fishlib.auth.UserContext userContext)
boolean
isSchemaManager(com.fishlib.auth.UserContext userContext)
boolean
isSuperUser(com.fishlib.auth.UserContext userContext)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.illumon.iris.db.v2.permissions.IrisGroupProvider
getRunAsUser, getRunAsUserMap
-
Constructor Details
-
Method Details
-
isSuperUser
public boolean isSuperUser(com.fishlib.auth.UserContext userContext)- Specified by:
isSuperUser
in interfaceIrisGroupProvider
-
isAclEditor
public boolean isAclEditor(com.fishlib.auth.UserContext userContext)- Specified by:
isAclEditor
in interfaceIrisGroupProvider
-
isSchemaManager
public boolean isSchemaManager(com.fishlib.auth.UserContext userContext)- Specified by:
isSchemaManager
in interfaceIrisGroupProvider
-
isQueryManager
public boolean isQueryManager(com.fishlib.auth.UserContext userContext)- Specified by:
isQueryManager
in interfaceIrisGroupProvider
-
isMember
- Specified by:
isMember
in interfaceIrisGroupProvider
-
getUserType
- Specified by:
getUserType
in interfaceIrisGroupProvider
-
getGroupsForUser
- Specified by:
getGroupsForUser
in interfaceIrisGroupProvider
-
getUsersForGroup
- Specified by:
getUsersForGroup
in interfaceIrisGroupProvider
-
getAllGroups
- Specified by:
getAllGroups
in interfaceIrisGroupProvider
-
getAllUsers
- Specified by:
getAllUsers
in interfaceIrisGroupProvider
-