privilege.xml 1.3 KB

1234567891011121314151617181920212223242526272829
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <PrivilegeManager enable="false" multiLogin="true"><DefaultLoginoutUI type="0" path="">
  3. </DefaultLoginoutUI>
  4. <AP class="com.fr.privilege.providers.embed.EmbedAuthenticationProvider">
  5. <UserService class="com.fr.privilege.user.services.EmbeddUserService">
  6. <Attr cache="false"/>
  7. </UserService>
  8. <UserChecker class="com.fr.privilege.user.checker.DefaultUserChecker" />
  9. <PasswordEncoder class="com.fr.privilege.providers.encoding.PlainTextPasswordEncoder" />
  10. <Salt class="com.fr.privilege.providers.encoding.salt.NullSalt"/>
  11. </AP>
  12. <AP class="com.fr.privilege.providers.dao.DaoAuthenticationProvider">
  13. <UserService class="com.fr.privilege.user.services.DaoUserService">
  14. <UserConfig>
  15. </UserConfig>
  16. <RoleConfig>
  17. </RoleConfig>
  18. <Attr cache="false"/>
  19. </UserService>
  20. <UserChecker class="com.fr.privilege.user.checker.DefaultUserChecker" />
  21. <PasswordEncoder class="com.fr.privilege.providers.encoding.PlainTextPasswordEncoder" />
  22. <Salt class="com.fr.privilege.providers.encoding.salt.NullSalt"/>
  23. </AP>
  24. <AP class="com.fr.privilege.providers.ldap.LDAPAuthenticationProvider">
  25. <UserService class="com.fr.privilege.user.services.LDAPUserService" url="ldap://ip:389" searchBase="dc=YourDomain,dc=Local" authentication="none" contextFactory="follow" referral="com.sun.jndi.ldap.connect.pool">
  26. <Attr cache="false"/>
  27. </UserService>
  28. </AP>
  29. </PrivilegeManager>