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

Metadata request with missing ldap user fail #220

Open
jewzaam opened this issue Apr 13, 2016 · 0 comments
Open

Metadata request with missing ldap user fail #220

jewzaam opened this issue Apr 13, 2016 · 0 comments

Comments

@jewzaam
Copy link
Member

jewzaam commented Apr 13, 2016

The lookup to ldap fails and the user cannot do requests. We'd like clients with a valid cert to do read operations against metadata at least. Here's the important bits of the stack traces:

2016-04-13 09:52:24,175 [https_executor-threads - 162] ERROR [com.redhat.lightblue.rest.auth.ldap.LightblueLdapRoleProvider] No result found roles for user: lb-miwhite: com.redhat.lightblue.rest.auth.ldap.LDAPUserNotFoundException
        at com.redhat.lightblue.rest.auth.ldap.LDAPSearcher.searchLDAPServer(LDAPSearcher.java:54)
        at com.redhat.lightblue.rest.auth.ldap.CachedLdapFindUserRolesByUidCommand.run(CachedLdapFindUserRolesByUidCommand.java:76)
        at com.redhat.lightblue.rest.auth.ldap.CachedLdapFindUserRolesByUidCommand.run(CachedLdapFindUserRolesByUidCommand.java:29)
2016-04-13 09:52:24,177 [https_executor-threads - 162] ERROR [com.redhat.lightblue.rest.auth.jboss.CertLdapLoginModule] Failed to assign principal [null] to role [authenticated]: java.lang.NullPointerException
        at java.util.ArrayList.addAll(ArrayList.java:577)
        at com.redhat.lightblue.rest.auth.ldap.LightblueLdapRoleProvider.getUserRoles(LightblueLdapRoleProvider.java:60)
        at com.redhat.lightblue.rest.auth.ldap.LightblueLdapRoleProvider.getUserRoles(LightblueLdapRoleProvider.java:41)
        at com.redhat.lightblue.rest.auth.jboss.CertLdapLoginModule.getRoleSets(CertLdapLoginModule.java:118)
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