Interface IrisGroupProvider
- All Known Implementing Classes:
AbstractIrisGroupProvider
,CachingGroupProvider
,IrisGroupProviderControllerImpl
,IrisGroupProviderDbAclImpl
,IrisGroupProviderFilesImpl
,IrisUserContext
public interface IrisGroupProvider
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
IrisGroupProvider.UserType
-
Field Summary
Fields Modifier and Type Field Description static String
FULL_ACCESS_GROUP
static String
IRIS_ACLEDITORS
static String
IRIS_QUERYMANAGERS
static String
IRIS_SCHEMAMANAGERS
static String
IRIS_SUPERUSERS
static String
NON_INTERACTIVE_GROUP
static String
QUERY_VIEW_ONLY_GROUP
-
Method Summary
Modifier and Type Method Description String[]
getAllGroups()
String[]
getAllUsers()
String[]
getGroupsForUser(com.fishlib.auth.UserContext userContext)
default String
getRunAsUser(com.fishlib.auth.UserContext userContext)
default Map<String,String>
getRunAsUserMap()
String[]
getUsersForGroup(String group)
IrisGroupProvider.UserType
getUserType(com.fishlib.auth.UserContext userContext)
static IrisGroupProvider.UserType
getUserTypeBase(com.fishlib.auth.UserContext userContext, IrisGroupProvider irisGroupProvider)
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)
static IrisGroupProvider
make(com.fishlib.io.logger.Logger log)
static IrisGroupProvider
make(com.fishlib.io.logger.Logger log, DbAclProvider provider)
-
Field Details
-
Method Details
-
isSuperUser
boolean isSuperUser(com.fishlib.auth.UserContext userContext) -
isQueryManager
boolean isQueryManager(com.fishlib.auth.UserContext userContext) -
isAclEditor
boolean isAclEditor(com.fishlib.auth.UserContext userContext) -
isSchemaManager
boolean isSchemaManager(com.fishlib.auth.UserContext userContext) -
isMember
-
getGroupsForUser
-
getUsersForGroup
-
getAllGroups
String[] getAllGroups() -
getAllUsers
String[] getAllUsers() -
getRunAsUserMap
-
getRunAsUser
-
getUserType
-
make
static IrisGroupProvider make(com.fishlib.io.logger.Logger log, DbAclProvider provider) throws IOException- Throws:
IOException
-
make
- Throws:
IOException
-
getUserTypeBase
static IrisGroupProvider.UserType getUserTypeBase(com.fishlib.auth.UserContext userContext, IrisGroupProvider irisGroupProvider)
-