public interface PostProcessor
Modifier and Type | Method and Description |
---|---|
default void |
close()
Give the implementation a chance to close the resources used.
|
default void |
init(Properties securityProps)
Given the security props of the server, properly initialize the post processor for the server.
|
Object |
processRegionValue(Object principal,
String regionName,
Object key,
Object value)
Process the value before sending it to the requester
|
default void init(Properties securityProps)
securityProps
- security propertiesObject processRegionValue(Object principal, String regionName, Object key, Object value)
principal
- The principal that's accessing the value. The type of the principal will
depend on how you implemented your SecurityManagerregionName
- The region that's been accessed. This could be null.key
- the key of the value that's been accessed. This could be null.value
- the original value. The original value could be null as well.default void close()