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(java.util.Properties securityProps)
Given the security props of the server, properly initialize the post processor for the server.
|
java.lang.Object |
processRegionValue(java.lang.Object principal,
java.lang.String regionName,
java.lang.Object key,
java.lang.Object value)
Process the value before sending it to the requester
|
default void init(java.util.Properties securityProps)
securityProps
- java.lang.Object processRegionValue(java.lang.Object principal, java.lang.String regionName, java.lang.Object key, java.lang.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()