Class TableTicketTransformer
java.lang.Object
io.deephaven.enterprise.acl.transform.TableTicketTransformer
- All Implemented Interfaces:
TicketTransformer
A
TicketTransformer
that handles transformation of Table
s to apply ACLs at the edge.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> boolean
canTransform
(T value) Check if this transformer can apply a transformation to the specified value.getAllowedGroups
(T value) Get a set of groups that may access the specified object.int
priority()
The relative priority of the transformer.<T> T
transform
(@NotNull DheAuthContext authContext, T value) Transform the specified object using the auth context.
-
Constructor Details
-
TableTicketTransformer
-
-
Method Details
-
priority
public int priority()Description copied from interface:TicketTransformer
The relative priority of the transformer. Lower numbers are higher priority, 0 is the lowest allowed value.- Specified by:
priority
in interfaceTicketTransformer
- Returns:
- the priority of the transformer
-
canTransform
public <T> boolean canTransform(T value) Description copied from interface:TicketTransformer
Check if this transformer can apply a transformation to the specified value.- Specified by:
canTransform
in interfaceTicketTransformer
- Type Parameters:
T
- the type- Parameters:
value
- the value to transform- Returns:
- true if this transformer can apply a transformation
-
transform
Description copied from interface:TicketTransformer
Transform the specified object using the auth context.- Specified by:
transform
in interfaceTicketTransformer
- Type Parameters:
T
- The type.- Parameters:
authContext
- the authentication contextvalue
- the value to transform- Returns:
- the transformed value
-
getAllowedGroups
Description copied from interface:TicketTransformer
Get a set of groups that may access the specified object.- Specified by:
getAllowedGroups
in interfaceTicketTransformer
- Type Parameters:
T
- The type- Parameters:
value
- the object.- Returns:
- a set of groups that is allowed to access the object.
-