【发布时间】:2017-10-17 17:18:03
【问题描述】:
我目前对根据Implementing Authentication 在 Java/Geode 中实现 SecurityManager 接口的要求感到迷茫。
我可以在gemfire.properties 中指向处理security-username 和security-password 属性的标准实现吗?
我将ExampleSecurityManager java 类保存到Geode bin 目录,然后尝试将security-manager 属性指向它。
security-manager=org.apache.geode.security.examples.ExampleSecurityManager
如果我开箱即用地运行 Geode 并执行此操作,则定位器无法以 org.apache.geode.security.GemFireSecurityException: Instance could not be obtained, java.lang.ClassNotFoundException: org.apache.geode.security.examples.ExampleSecurityManager 开头
一个疯狂的问题。感谢您的评论。
【问题讨论】:
-
我认为你的类名有阅读障碍 :) 试试
org.apache.geode.examples.security.ExampleSecurityManager。