public interface HookContextFactory
Modifier and Type | Method and Description |
---|---|
HookContext |
createBatchUserHookContext(Map<String,Set<String>> userGroups)
Factory method for BatchUserHookContext instances.
|
HookContext |
createUserHookContext(String userName)
Factory method for HookContext implementations.
|
HookContext createUserHookContext(String userName)
userName
- the username to be inferred to the instance being createdHookContext createBatchUserHookContext(Map<String,Set<String>> userGroups)
userGroups
- a map with userNames as keys and group list as values.Copyright © 2022 Apache Software Foundation. All rights reserved.