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

Added an attribute to control the ldap logging #77

Merged
merged 2 commits into from Mar 14, 2016
Merged

Added an attribute to control the ldap logging #77

merged 2 commits into from Mar 14, 2016

Conversation

nilroy
Copy link
Contributor

@nilroy nilroy commented Feb 24, 2016

Added an attribute to control the ldap logging

@nilroy
Copy link
Contributor Author

nilroy commented Feb 24, 2016

@pcross616 I just wanted to suppress logging by this attribute. There are two cases where it is logging exception:

  1. We login with a user which is stored in realm.properties file
  2. We login with a ldap user and then logout.

With debug="false" the first case does not log but the second case still logs error. Any idea?

A sample log for the 2nd scenario (with or without the debug"
2016-02-24 10:57:07.504:WARN:oejpj.JAASLoginService: javax.security.auth.login.LoginException: java.lang.NullPointerException|?at org.eclipse.jetty.plus.jaas.spi.AbstractLoginModule.logout(AbstractLoginModule.java:260)|?at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)|?at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)|?at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)|?at java.lang.reflect.Method.invoke(Method.java:498)|?at javax.security.auth.login.LoginContext.invoke(LoginContext.java:755)|?at javax.security.auth.login.LoginContext.access$000(LoginContext.java:195)|?at javax.security.auth.login.LoginContext$4.run(LoginContext.java:682)|?at javax.security.auth.login.LoginContext$4.run(LoginContext.java:680)|?at java.security.AccessController.doPrivileged(Native Method)|?at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)|?at javax.security.auth.login.LoginContext.logout(LoginContext.java:628)|?at org.eclipse.jetty.plus.jaas.JAASLoginService.logout(JAASLoginService.java:274)|?at org.eclipse.jetty.security.SecurityHandler.logout(SecurityHandler.java:561)|?at org.eclipse.jetty.security.authentication.SessionAuthentication.doLogout(SessionAuthentication.java:103)|?at org.eclipse.jetty.security.authentication.SessionAuthentication.valueUnbound(SessionAuthentication.java:130)|?at org.eclipse.jetty.server.session.AbstractSession.unbindValue(AbstractSession.java:489)|?at org.eclipse.jetty.server.session.AbstractSession.clearAttributes(AbstractSession.java:340)|?at org.eclipse.jetty.server.session.AbstractSession.doInvalidate(AbstractSession.java:307)|?at org.eclipse.jetty.server.session.HashedSession.doInvalidate(HashedSession.java:72)|?at org.eclipse.jetty.server.session.AbstractSession.invalidate(AbstractSession.java:297)|?at org.codehaus.groovy.grails.web.servlet.mvc.GrailsHttpSession.invalidate(GrailsHttpSession.java:180)|?at javax.servlet.http.HttpSession$invalidate$1.call(Unknown Source)|?at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45)|?at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)|?at org.codehaus.groovy.runtime.callsite.AbstractCallSite

pcross616 added a commit that referenced this pull request Mar 14, 2016
…ng_attributes

Added an attribute to control the ldap logging
@pcross616 pcross616 merged commit 3b4ba51 into sous-chefs:master Mar 14, 2016
scottymarshall pushed a commit to scottymarshall/rundeck that referenced this pull request Mar 9, 2018
…ldap_logging_attributes

Added an attribute to control the ldap logging

Former-commit-id: 3b4ba51
@lock
Copy link

lock bot commented Jul 24, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Jul 24, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants