Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-6018

SimpleAuthenticationProvider offered as option through the Management UI

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.30, 0.31
    • Fix Version/s: 0.30
    • Component/s: Broker-J
    • Labels:
      None

      Description

      SimpleAuthenticationProvider is used internally by Management mode, and should not be available for the user to choose. It appears on the drop down list of available authentication providers. If the user chooses it, he receives an error message and the following is written to the log:

      2014-08-19 11:41:14,888 WARN  [qtp738025230-28] (rest.RestServlet) - Caught exception
      org.apache.qpid.server.model.NoFactoryForTypeException: Unknown configured object type 'AuthenticationProvider' of category 'AuthenticationProvider'
      	at org.apache.qpid.server.model.ConfiguredObjectFactoryImpl.getConfiguredObjectTypeFactory(ConfiguredObjectFactoryImpl.java:168)
      	at org.apache.qpid.server.model.ConfiguredObjectFactoryImpl.getConfiguredObjectTypeFactory(ConfiguredObjectFactoryImpl.java:131)
      	at org.apache.qpid.server.model.ConfiguredObjectFactoryImpl.create(ConfiguredObjectFactoryImpl.java:110)
      	at org.apache.qpid.server.model.adapter.BrokerAdapter.createChild(BrokerAdapter.java:642)
      	at org.apache.qpid.server.model.adapter.BrokerAdapter.access$700(BrokerAdapter.java:61)
      	at org.apache.qpid.server.model.adapter.BrokerAdapter$3.execute(BrokerAdapter.java:627)
      	at org.apache.qpid.server.model.adapter.BrokerAdapter$3.execute(BrokerAdapter.java:623)
      	at org.apache.qpid.server.configuration.updater.TaskExecutorImpl.executeTask(TaskExecutorImpl.java:299)
      	at org.apache.qpid.server.configuration.updater.TaskExecutorImpl.submit(TaskExecutorImpl.java:131)
      	at org.apache.qpid.server.configuration.updater.TaskExecutorImpl.run(TaskExecutorImpl.java:251)
      	at org.apache.qpid.server.model.AbstractConfiguredObject.runTask(AbstractConfiguredObject.java:1297)
      	at org.apache.qpid.server.model.adapter.BrokerAdapter.createAuthenticationProvider(BrokerAdapter.java:622)
      	at org.apache.qpid.server.model.adapter.BrokerAdapter.access$300(BrokerAdapter.java:61)
      	at org.apache.qpid.server.model.adapter.BrokerAdapter$2.execute(BrokerAdapter.java:555)
      	at org.apache.qpid.server.model.adapter.BrokerAdapter$2.execute(BrokerAdapter.java:537)
      	at org.apache.qpid.server.configuration.updater.TaskExecutorImpl.executeTask(TaskExecutorImpl.java:299)
      	at org.apache.qpid.server.configuration.updater.TaskExecutorImpl.submit(TaskExecutorImpl.java:131)
      	at org.apache.qpid.server.configuration.updater.TaskExecutorImpl.run(TaskExecutorImpl.java:251)
      	at org.apache.qpid.server.model.AbstractConfiguredObject.runTask(AbstractConfiguredObject.java:1297)
      	at org.apache.qpid.server.model.adapter.BrokerAdapter.addChild(BrokerAdapter.java:536)
      	at org.apache.qpid.server.model.AbstractConfiguredObject$10.execute(AbstractConfiguredObject.java:1185)
      	at org.apache.qpid.server.model.AbstractConfiguredObject$10.execute(AbstractConfiguredObject.java:1179)
      	at org.apache.qpid.server.configuration.updater.TaskExecutorImpl.executeTask(TaskExecutorImpl.java:299)
      	at org.apache.qpid.server.configuration.updater.TaskExecutorImpl.access$400(TaskExecutorImpl.java:43)
      	at org.apache.qpid.server.configuration.updater.TaskExecutorImpl$CallableWrapper$1.run(TaskExecutorImpl.java:327)
      	at java.security.AccessController.doPrivileged(Native Method)
      	at javax.security.auth.Subject.doAs(Subject.java:356)
      	at org.apache.qpid.server.configuration.updater.TaskExecutorImpl$CallableWrapper.call(TaskExecutorImpl.java:322)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:262)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      	at java.lang.Thread.run(Thread.java:744)
      
      

        Attachments

          Activity

            People

            • Assignee:
              kwall Keith Wall
              Reporter:
              kwall Keith Wall
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: