Advertisement
Guest User

Untitled

a guest
Jan 23rd, 2019
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 1.12 KB | None | 0 0
  1. group-role-attribute. The attribute which contains the name
  2. of the authority defined by the group entry. Defaults to cn
  3.  
  4. -x -> simple authentication instead of SASL
  5. -H -> ldapuri
  6. -b -> searchbase
  7. -D -> binddn, use Distinguished Name to bind LDAP directory
  8. -w -> password
  9. -s -> specify the scope of the search. Default sub.
  10.  
  11. ldapUri: ldap://ldap.consileon.pl
  12. searchBase = dc=consileon,dc=pl
  13. dn = cn=Tomasz Testowy,ou=users,dc=consileon,dc=pl
  14. password = !7$QZsejPNe5z8
  15. searchscope = uid=ttestowy
  16.  
  17. org.springframework.security.crypto.password.PasswordEncoder
  18.  
  19. LDAP
  20. Address: ldap://ldap.consileon.pl
  21. Port: 389
  22. ------------------------------
  23. uid: ttestowy
  24. pass:!7$QZsejPNe5z8
  25. groups: examinator
  26. ------------------------------
  27. uid: mprzykladowy
  28. pass: G9zm$b8xD%AC2y
  29. groups: recruiter
  30. ----------------------------------
  31. uid: pcons
  32. pass: YGKTuet%mhvodhM
  33. groups: recruiter, examinator
  34. ---------------------------------
  35. wspierane atrybuty:
  36. imie: givenName
  37. e-mail: mail
  38. login: uid
  39. role (grupy): memberOf
  40.  
  41. examinator 510
  42. recriuter 509
  43.  
  44. https://www.ziaconsulting.com/developer-help/spring-security-active-directory/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement