Openldap JNDI扩展了运营

时间:2013-11-27 15:11:16

标签: jndi openldap

我有扩展操作的openldap,如:

pwdAttribute: userPassword
pwdMaxAge: 7776002
pwdExpireWarning: 432000
pwdInHistory: 3
pwdCheckQuality: 1
pwdMinLength: 6
pwdMaxFailure: 3
pwdLockout: TRUE
pwdLockoutDuration: 900
pwdGraceAuthNLimit: 0
pwdFailureCountInterval: 0
pwdMustChange: TRUE
pwdAllowUserChange: TRUE
pwdSafeModify: FALSE

我想通过JNDI(LdapContext)了解如何获取过期警告等。

1 个答案:

答案 0 :(得分:0)

您需要添加一些扩展控件。请参阅我在Oracle forums中发布的PasswordPolicyRequest/ResponseControl代码和工厂。