-
Bug
-
Resolution: Duplicate
-
Major
-
None
-
Platform: All, OS: All
Hudson ver. 1.285
1. When I enable "Matrix-based security".
2. Add group foo.
3. Grant all permissions to group foo.
4. Login as a new user in group foo to hudson.
5. Hudson displays following error
Access Denied
org.acegisecurity.providers.UsernamePasswordAuthenticationToken@a67154e0:
Username: org.acegisecurity.userdetails.ldap.LdapUserDetailsImpl@5d82fe47;
Password: [PROTECTED]; Authenticated: true; Details:
org.acegisecurity.ui.WebAuthenticationDetails@166c8: RemoteIpAddress:
10.2.18.121; SessionId: D4C5C9C3EE392793E8A40B73BE95B733; Granted Authorities:
is missing Read
User is definitely in the group
Group definitely has all permissions
I didn't test if this also applies to non-LDAP groups.
- duplicates
-
JENKINS-3459 LDAP Groupname Validation Inconsistent (ROLE_ prefix)
-
- Closed
-
[JENKINS-3128] Error logging in when using matrix permissions with LDAP groups
Status | Original: Open [ 1 ] | New: In Progress [ 3 ] |
what is the structure for groups in your LDAP and what are your LDAP settings in
Hudson? the group query must not be finding your group memberships.
This is the class doing the group lookup:
http://www.acegisecurity.org/acegi-security/apidocs/org/acegisecurity/providers/ldap/populator/DefaultLdapAuthoritiesPopulator.html
and in Hudson this class is configured in:
WEB-INF/security/LDAPBindSecurityRealm.groovy