1

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.

rupweb
  • 3,052
  • 1
  • 30
  • 57
  • 2
    I think you have a dyslexic class name :) Try `org.apache.geode.examples.security.ExampleSecurityManager`. – Jens D Oct 03 '17 at 20:32

1 Answers1

0

@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

rupweb
  • 3,052
  • 1
  • 30
  • 57