Branch: refs/heads/master
Home:
https://github.com/rhq-project/rhq
Commit: 12c727d8b96694fb60cb119b95aceeeeece02190
https://github.com/rhq-project/rhq/commit/12c727d8b96694fb60cb119b95aceee...
Author: Jirka Kremser <jkremser(a)redhat.com>
Date: 2014-07-29 (Tue, 29 Jul 2014)
Changed paths:
M
modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/auth/SubjectManagerBean.java
Log Message:
-----------
[BZ 1122549] - LDAP user registration screen does not appear when 'Enable Login
Without Roles' has value 'No' - SubjectManagerBean.processSubjectForLdap() was
calling the SubjectManagerBean.login() where the exception was thrown, but the roles get
assigned after this step. Now the login method is called with additional parameter that
says 'don't do the role checking'. There was also a logical error that
actually caused that no RHQ roles (based on LDAP group) were assigned at all (it was done
correctly only when the log level was set to DEBUG)