Search code examples
gemfiregeode

Geode SecurityManager implementation


I am currently lost on the requirement to implement a SecurityManager interface in Java / Geode per Implementing Authentication.

Is there standard implementation that I can point to in gemfire.properties to handle the security-username and security-password properties?

I got as far as taking the ExampleSecurityManager java class and saving it to the Geode bin directory, and then trying to point the security-manager property to it.

security-manager=org.apache.geode.security.examples.ExampleSecurityManager

If I run Geode out of the box and do exactly that then the locator fails to start with org.apache.geode.security.GemFireSecurityException: Instance could not be obtained, java.lang.ClassNotFoundException: org.apache.geode.security.examples.ExampleSecurityManager

A crazy question. THANKS for your comment.


Solution

  • @JensD thanks once again. I requested to update the Javadoc but the Custom Security Manager page has it the right way around!

    It should be org.apache.geode.examples.security.ExampleSecurityManager