on-internet
← Community

Spring Securirty Granted Authorities always return empty

Stack Overflow ·

I am trying to gather user permissions from Active Directory in my Spring 4.0.6 application, using Spring Security 3.2.4. Some details: Authentication works. I can get the current username. Pre-authentication is done by JBoss 7.2 using JCIFS (NTLM). LDAP server works, so host and port are correct. Domain is correct. SecurityConfig.java @Configuration @EnableWebMvcSecurity @PropertySource( "classpath:/resources/ldap-config.properties" ) public class SecurityConfig extends WebSecurityConfigurerAdapter { @Value( "${domain}" ) private String strDomain; @Value( "${ldap.host}" ) private String strHo

Comments

Sign in or sign up to comment and upvote.

No comments yet.