Uploaded image for project: 'OpenOLAT'
  1. OpenOLAT
  2. OO-5422

RS: login with LDAP with incorrect configuration and/or incomplete attributes set

Details

    Description

      2021-04-27 11:09:41.881 [ajp-nio2-127.0.0.1-8021-exec-59] ERROR  OLATRuntimeException ^%^ I7049-J9127 ^%^ org.olat.core.logging.OLATRuntimeException
      https://xyz.de/dmz/1%3A1%3Aoldap_login%3A1%3A0%3Aofo_%3Afid/
      Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:87.0) Gecko/20100101 Firefox/87.0
      
      **RedScreen** null
      <dispatchinfo> 
      	<componentinfo>
      		<compname>ffo_main_vertical</compname>
      		<compclass>org.olat.core.gui.components.form.flexible.impl.FormWrapperContainer</compclass>
      		<extendedinfo>n/a</extendedinfo>
      		<event>
      			<class&gt;org.olat.core.gui.control.Event</class&gt;
      			<command>validation ok</command>
      			<tostring>com:validation ok,org.olat.core.gui.control.Event@d62b3f02</tostring>
      		</event>
      	</componentinfo>
      	<controllerinfo>
      		<controllername>org.olat.login.auth.OLATAuthentcationForm</controllername>
      		<controllername>org.olat.login.LoginAuthprovidersController</controllername>
      		<controllername>org.olat.core.commons.fullWebApp.BaseFullWebappController</controllername>
      	</controllerinfo>
      </dispatchinfo>
      Caused by: java.lang.NullPointerException
       at org.olat.basesecurity.manager.AuthenticationDAO.getAuthentication(AuthenticationDAO.java:217)
       at org.olat.ldap.manager.LDAPLoginManagerImpl.findAuthenticationByLdapAuthentication(LDAPLoginManagerImpl.java:882)
       at org.olat.ldap.manager.LDAPLoginManagerImpl.authenticate(LDAPLoginManagerImpl.java:382)
       at org.olat.ldap.ui.LDAPAuthenticationController.event(LDAPAuthenticationController.java:170)
       at org.olat.core.gui.control.DefaultController$1.run(DefaultController.java:258)
       at org.olat.core.logging.activity.ThreadLocalUserActivityLoggerInstaller.runWithUserActivityLogger(ThreadLocalUserActivityLoggerInstaller.java:108)
       at org.olat.core.gui.control.DefaultController.dispatchEvent(DefaultController.java:255)
       at org.olat.core.gui.control.DefaultController.fireEvent(DefaultController.java:202)
       at org.olat.login.auth.OLATAuthentcationForm.formOK(OLATAuthentcationForm.java:89)
       at org.olat.core.gui.components.form.flexible.impl.FormBasicController.event(FormBasicController.java:390)
       at org.olat.core.gui.control.DefaultController.dispatchEvent(DefaultController.java:214)
       at org.olat.core.gui.components.AbstractComponent$1.run(AbstractComponent.java:240)
       at org.olat.core.logging.activity.ThreadLocalUserActivityLoggerInstaller.runWithUserActivityLogger(ThreadLocalUserActivityLoggerInstaller.java:108)
       at org.olat.core.gui.components.AbstractComponent.fireEvent(AbstractComponent.java:238)
       at org.olat.core.gui.components.form.flexible.impl.FormWrapperContainer.fireValidation(FormWrapperContainer.java:124)
       at org.olat.core.gui.components.form.flexible.impl.Form.submit(Form.java:464)
       at org.olat.core.gui.components.form.flexible.impl.Form.submit(Form.java:451)
       at org.olat.core.gui.components.form.flexible.impl.elements.FormSubmit.dispatchFormRequest(FormSubmit.java:79)
       at org.olat.core.gui.components.form.flexible.impl.FormItemImpl.doDispatchFormRequest(FormItemImpl.java:568)
       at org.olat.core.gui.components.form.flexible.impl.Form.evalFormRequest(Form.java:317)
       at org.olat.core.gui.components.form.flexible.impl.FormWrapperContainer.doDispatchRequest(FormWrapperContainer.java:105)
       at org.olat.core.gui.components.AbstractComponent.dispatchRequest(AbstractComponent.java:193)
       at org.olat.core.gui.components.Window.doDispatchToComponent(Window.java:1258)
       at org.olat.core.gui.components.Window.dispatchRequest(Window.java:723)
       at org.olat.core.gui.components.Window.doDispatchRequest(Window.java:313)
       at org.olat.core.gui.components.AbstractComponent.dispatchRequest(AbstractComponent.java:193)
       at org.olat.dispatcher.DMZDispatcher.execute(DMZDispatcher.java:273)
      ... 35 more
      

      Attachments

        Activity

          People

            srosse Stéphane Rossé
            srosse Stéphane Rossé
            Mandy Menzel Mandy Menzel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: