qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Keith Wall (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (QPID-6018) SimpleAuthenticationProvider offered as choice through the Management UI
Date Tue, 19 Aug 2014 10:51:18 GMT

    [ https://issues.apache.org/jira/browse/QPID-6018?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14102113#comment-14102113
] 

Keith Wall commented on QPID-6018:
----------------------------------

I think the fact that SimpleAuthenticationProvider is a class (rather than an interface) confuses
the COF Factory.  It seems to me we also need a attribute that can tag such configured object
as 'internal' and by default should be excluded from the metadata service.

> SimpleAuthenticationProvider offered as choice through the Management UI
> ------------------------------------------------------------------------
>
>                 Key: QPID-6018
>                 URL: https://issues.apache.org/jira/browse/QPID-6018
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker
>    Affects Versions: 0.30, 0.31
>            Reporter: Keith Wall
>
> 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:
> {noformat}
> 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)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


Mime
View raw message