Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CID 158695: Concurrent data access violations (GUARDED_BY_VIOLATION) #277

Open
jewzaam opened this issue Jan 4, 2017 · 0 comments
Open

Comments

@jewzaam
Copy link
Member

jewzaam commented Jan 4, 2017

/lightblue-rest/auth/src/main/java/com/redhat/lightblue/rest/auth/jboss/CertLdapLoginModule.java: 158 in com.redhat.lightblue.rest.auth.jboss.CertLdapLoginModule.getRoleSets()()

*** CID 158695:  Concurrent data access violations  (GUARDED_BY_VIOLATION)
/lightblue-rest/auth/src/main/java/com/redhat/lightblue/rest/auth/jboss/CertLdapLoginModule.java: 158 in com.redhat.lightblue.rest.auth.jboss.CertLdapLoginModule.getRoleSets()()
152          * @see org.jboss.security.auth.spi.AbstractServerLoginModule#getRoleSets()
153          */
154         @Override
155         protected Group[] getRoleSets() throws LoginException {
156             LOGGER.debug("staticRoleLoginModule getRoleSets()");
157
>>>     CID 158695:  Concurrent data access violations  (GUARDED_BY_VIOLATION)
>>>     Accessing "options" without holding lock "LdapRolesProvider.class". Elsewhere, "org.jboss.security.auth.spi.AbstractServerLoginModule.options" is accessed with "LdapRolesProvider.class" held 22 out of 25 times.
158             String roleName = (String) options.get(AUTH_ROLE_NAME);
159
160             SimpleGroup userRoles = new SimpleGroup("Roles");
161
162             Principal p = null;
163
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant