Package com.illumon.iris.controller
Class IrisGroupProviderControllerImpl
java.lang.Object
com.illumon.iris.controller.IrisGroupProviderControllerImpl
- All Implemented Interfaces:
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, GROUP_ALLUSERS, IRIS_ACLEDITORS, IRIS_DATAMANAGERS, IRIS_QUERYMANAGERS, IRIS_SCHEMAMANAGERS, IRIS_SUPERUSERS, NON_INTERACTIVE_GROUP, QUERY_VIEW_ONLY_GROUP
-
Constructor Summary
ConstructorsConstructorDescriptionIrisGroupProviderControllerImpl
(PersistentQueryControllerClient controllerClient) -
Method Summary
Modifier and TypeMethodDescriptionString[]
String[]
String[]
getGroupsForUser
(UserContext userContext) String[]
getUsersForGroup
(String group) getUserType
(UserContext userContext) boolean
isAclEditor
(UserContext userContext) boolean
isMember
(UserContext userContext, String owner, String[] groups) boolean
isQueryManager
(UserContext userContext) boolean
isSchemaManager
(UserContext userContext) boolean
isSuperUser
(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
-
IrisGroupProviderControllerImpl
-
-
Method Details
-
isSuperUser
- Specified by:
isSuperUser
in interfaceIrisGroupProvider
-
isAclEditor
- Specified by:
isAclEditor
in interfaceIrisGroupProvider
-
isSchemaManager
- Specified by:
isSchemaManager
in interfaceIrisGroupProvider
-
isQueryManager
- Specified by:
isQueryManager
in interfaceIrisGroupProvider
-
isMember
public boolean isMember(@NotNull UserContext userContext, @Nullable String owner, @Nullable String[] groups) - 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
-