【发布时间】:2014-06-10 11:42:43
【问题描述】:
在 OpenAM 中发生用户锁定/用户解锁后,我们需要调用 Web 服务并向 oracle db 插入一些值。
我们怎样才能做到这一点?
有没有办法使用任何事件处理程序来实现这一点?
或者
我们是否需要使用 openDJ 帐户状态通知处理程序。 我浏览了 openDJ 帐户状态通知处理程序并尝试创建自定义帐户状态通知处理程序。
我创建了一个新的 objectClass 并在 config.ldiff 文件中创建了一个新条目,其中 java-class 作为我扩展 AccountStatusNotificationHandler 的自定义类,但是当我启动 openDJ 时它会抛出
例外:
BootstrapData.startEmbeddedDS: org.opends.server.config.ConfigException: 尝试解码托管对象配置条目时发生错误 cn=Custom Notification Handler,cn=Account Status Notification Handlers,cn=config: Account Status Notification Handler 由于无法解码原因如下:字符串值“org.opends.server.extensions.CustomAccountStatusNotificationHandler”不是“java-class”属性的有效值,它必须具有以下语法:CLASS
OpenAM 版本为 11.0.0
我的 openAM 服务器是 apache tomcat。
谢谢
Abhilash KP
【问题讨论】: