What's shown on /whoAmI ? On 22.10.2013, at 23:01, Mauricio Fuentes Montero <[email protected]> wrote:
> Hi everyone, > > I'm trying to configure security for a new instance of jenkins using LDAP. > Our LDAP server allows anonymous queries and I've set up all the needed > information on jenkins. When I try to login, I enter the username and > password and press the "log in", I understand that if the login went ok I > should see my username on the top-right corner of the next screen, but > nothing happened. I enabled the login for hudson.security.* and I saw the > following log, among others: > ... > > 21-Oct-2013 19:38:50.639 FINE [http-nio-8080-exec-6] > hudson.security.AuthenticationProcessingFilter2.successfulAuthentication > Authentication success: > org.acegisecurity.providers.UsernamePasswordAuthenticationToken@b475870f: > Username: org.acegisecurity.userdetails.ldap.LdapUserDetailsImpl@104c2b; > Password: [PROTECTED]; Authenticated: true; Details: > org.acegisecurity.ui.WebAuthenticationDetails@ffff6a82: RemoteIpAddress: > 127.0.0.1; SessionId: 92846AB177A1833E208B166B7EFAE16E; Granted Authorities: > arquitectura, authenticated, all, ROLE_ARQUITECTURA, ROLE_ALL > 21-Oct-2013 19:38:50.639 FINE [http-nio-8080-exec-6] > hudson.security.AuthenticationProcessingFilter2.successfulAuthentication > Updated SecurityContextHolder to contain the following Authentication: > 'org.acegisecurity.providers.UsernamePasswordAuthenticationToken@b475870f: > Username: org.acegisecurity.userdetails.ldap.LdapUserDetailsImpl@104c2b; > Password: [PROTECTED]; Authenticated: true; Details: > org.acegisecurity.ui.WebAuthenticationDetails@ffff6a82: RemoteIpAddress: > 127.0.0.1; SessionId: 92846AB177A1833E208B166B7EFAE16E; Granted Authorities: > arquitectura, authenticated, all, ROLE_ARQUITECTURA, ROLE_ALL' > 21-Oct-2013 19:38:50.640 FINE [http-nio-8080-exec-6] > hudson.security.AuthenticationProcessingFilter2.successfulAuthentication > Redirecting to target URL from HTTP Session (or default): /manage > ... > > This makes me think that everything is ok, but I'm not logged in. > > Does anybody know why this happens? > > Thanks in advance. > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
