ReadOnlyLDAPUserStoreManager - 如何读取用户-mgt.xml 文件
ReadOnlyLDAPUserStoreManager - How to read user-mgt.xml file
在 user-mgt.xml 文件中,我有一个带有属性列表的 UserStoreManager。我如何 "read" 我的项目中的属性?因为我只想在 user-mgt.xml 文件中写一次我的 Ldap 配置,而不是在代码中也写它们。
您可以使用
访问用户存储配置 属性
realmConfig.getUserStoreProperty('<property_name>');
在 user-mgt.xml 文件中,我有一个带有属性列表的 UserStoreManager。我如何 "read" 我的项目中的属性?因为我只想在 user-mgt.xml 文件中写一次我的 Ldap 配置,而不是在代码中也写它们。
您可以使用
访问用户存储配置 属性realmConfig.getUserStoreProperty('<property_name>');