Class ExamplePostProcessor
java.lang.Object
org.apache.geode.examples.security.ExamplePostProcessor
- All Implemented Interfaces:
PostProcessor
This is example that implements PostProcessor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidinit(Properties securityProps) Given the security props of the server, properly initialize the post processor for the server.processRegionValue(Object principal, String regionName, Object key, Object value) This simply modifies the value with all the parameter valuesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.geode.security.PostProcessor
close
-
Constructor Details
-
ExamplePostProcessor
public ExamplePostProcessor()
-
-
Method Details
-
init
Description copied from interface:PostProcessorGiven the security props of the server, properly initialize the post processor for the server. Initialized at cache creation- Specified by:
initin interfacePostProcessor- Parameters:
securityProps- security properties
-
processRegionValue
This simply modifies the value with all the parameter values- Specified by:
processRegionValuein interfacePostProcessor- Parameters:
principal- The principal that's accessing the valueregionName- 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 value, this could be null.- Returns:
- the processed value
-