Class WrappedGroupProvider
java.lang.Object
io.deephaven.enterprise.dnd.authentication.WrappedGroupProvider
- All Implemented Interfaces:
- GroupProvider
A Simple 
GroupProvider that wraps the Enterprise implementation IrisGroupProvider- 
Constructor SummaryConstructorsConstructorDescriptionWrappedGroupProvider(@NotNull io.deephaven.shadow.enterprise.com.illumon.iris.db.v2.permissions.IrisGroupProvider delegate) Create a new provider delegating to the underlying Enterprise provider.
- 
Method SummaryModifier and TypeMethodDescriptionString[]getGroupsForUser(@NotNull UserContext userContext) Get the groups to which the specified user belongs.booleanisAclEditor(@NotNull UserContext userContext) Check if the specified user is an ACL editor.booleanisMember(@NotNull UserContext userContext, @NotNull String owner, @NotNull String... groups) Check if the specified user is a member or supervisor of any of the specified groups.booleanisSuperUser(@NotNull UserContext userContext) Check if the specified user is a superuser.
- 
Constructor Details- 
WrappedGroupProviderpublic WrappedGroupProvider(@NotNull @NotNull io.deephaven.shadow.enterprise.com.illumon.iris.db.v2.permissions.IrisGroupProvider delegate) Create a new provider delegating to the underlying Enterprise provider.- Parameters:
- delegate- the Enterprise delegate.
 
 
- 
- 
Method Details- 
getGroupsForUserDescription copied from interface:GroupProviderGet the groups to which the specified user belongs.- Specified by:
- getGroupsForUserin interface- GroupProvider
- Parameters:
- userContext- the user
- Returns:
- an array of groups the user belongs to.
 
- 
isSuperUserDescription copied from interface:GroupProviderCheck if the specified user is a superuser.- Specified by:
- isSuperUserin interface- GroupProvider
- Parameters:
- userContext- the user
- Returns:
- true if the user was a superuser
 
- 
isMemberpublic boolean isMember(@NotNull @NotNull UserContext userContext, @NotNull @NotNull String owner, @NotNull @NotNull String... groups) Description copied from interface:GroupProviderCheck if the specified user is a member or supervisor of any of the specified groups.- Specified by:
- isMemberin interface- GroupProvider
- Parameters:
- userContext- the user
- owner- the owner of the object
- groups- the groups to check membership of
- Returns:
- true if the user is a member, or supervisor of the specified groups
 
- 
isAclEditorDescription copied from interface:GroupProviderCheck if the specified user is an ACL editor.- Specified by:
- isAclEditorin interface- GroupProvider
- Parameters:
- userContext- the user
- Returns:
- true if the user is an ACL editor, and false otherwise
 
 
-