Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ git diff WebSecurityConfig.java
- diff --git a/src/main/java/org/phoebus/olog/WebSecurityConfig.java b/src/main/java/org/phoebus/olog/WebSecurityConfig.ja
- index 23ff161..c42d26a 100644
- --- a/src/main/java/org/phoebus/olog/WebSecurityConfig.java
- +++ b/src/main/java/org/phoebus/olog/WebSecurityConfig.java
- @@ -170,7 +170,13 @@ public class WebSecurityConfig extends WebSecurityConfigurerAdapter {
- .userDnPatterns(embedded_ldap_user_dn_pattern)
- .ldapAuthoritiesPopulator(myAuthPopulator)
- .groupSearchBase("ou=Group")
- - .contextSource(contextSource);
- + .contextSource()
- + .url(embedded_ldap_url)
- + .and()
- + .passwordCompare()
- + .passwordEncoder(new BCryptPasswordEncoder())
- + .passwordAttribute("userPassword");
- + // .contextSource(contextSource);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement