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

RS invalid login provider

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 10.3.8
    • Component/s: None
    • Labels:
      None

      Description

      If the login provider doesn't match exactly, the controller throws an assert exception, which results in a red screen. The code must have some heuristic intelligence to match the provider or return the default one.

      2015-11-08 01:27:22,112 [ajp-nio2-8021-exec-44] ERROR AssertException - OLAT::ERROR ^%^ N1-E40 
      
      Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Firefox/38.0 ^%^ **RedScreen** Invalid authentication provider: LDAP'A=0
      
      <dispatchinfo>
      	<componentinfo>
      		<compname>vc_login</compname>
      		<compclass>org.olat.core.gui.components.velocity.VelocityContainer</compclass>
      		<extendedinfo>page:org/olat/login/_content/login.html </extendedinfo>
      		<event>
      			<class&gt;org.olat.core.gui.control.Event</class&gt;
      			<command>login</command>
      			<tostring>com:login,org.olat.core.gui.control.Event@625ef88</tostring>
      		</event>
      	</componentinfo>
      	<controllerinfo>
      		<controllername>org.olat.login.LoginAuthprovidersController</controllername>
      		<controllername>org.olat.core.commons.fullWebApp.BaseFullWebappController</controllername>
      	</controllerinfo>
      </dispatchinfo>
      
      >>> stack of 1.cause::org.olat.core.logging.AssertException: Invalid authentication provider: LDAP'A=0
      -> at org.olat.login.LoginAuthprovidersController.initLoginContent(LoginAuthprovidersController.java:149)
         at org.olat.login.LoginAuthprovidersController.event(LoginAuthprovidersController.java:254)
         at org.olat.core.gui.control.DefaultController.dispatchEvent(DefaultController.java:202)
         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.velocity.VelocityContainer.doDispatchRequest(VelocityContainer.java:112)
         at org.olat.core.gui.components.AbstractComponent.dispatchRequest(AbstractComponent.java:193)
         at org.olat.core.gui.components.Window.doDispatchToComponent(Window.java:1132)
         at org.olat.core.gui.components.Window.dispatchRequest(Window.java:629)
         at org.olat.core.gui.components.Window.doDispatchRequest(Window.java:234)
      >>> stack of 2.cause::java.lang.Exception: assertionstackgenerator
      -> at org.olat.core.logging.AssertException.<init>(AssertException.java:53)
         at org.olat.login.LoginAuthprovidersController.initLoginContent(LoginAuthprovidersController.java:149)
         at org.olat.login.LoginAuthprovidersController.event(LoginAuthprovidersController.java:254)
         at org.olat.core.gui.control.DefaultController.dispatchEvent(DefaultController.java:202)
         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.velocity.VelocityContainer.doDispatchRequest(VelocityContainer.java:112)
         at org.olat.core.gui.components.AbstractComponent.dispatchRequest(AbstractComponent.java:193)
         at org.olat.core.gui.components.Window.doDispatchToComponent(Window.java:1132)
         at org.olat.core.gui.components.Window.dispatchRequest(Window.java:629)
      

        Attachments

          Activity

            People

            • Assignee:
              srosse Stéphane Rossé
              Reporter:
              srosse Stéphane Rossé
              Tester:
              Dirk Furrer
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 30 minutes
                30m