From: Kasemir, K. <kas...@or...> - 2012-03-08 13:49:01
|
Nochmal Moin: On 2/29/12 12:26 , "Florian Feldbauer" <fl...@ep...> wrote: >To be able to set the extension points in my product plugin I have >listed these two plugins as dependencies. Maybe this causing the error? >Can anyone help me solving this problem? Not sure what exactly you mean by "<I> set the extension points in my product plugin". If you simply include the plugin org.csstudio.platform.jaasAuthentication, its plugin.xml will tell Eclipse that it has a "loginModule" for the extension point org.csstudio.auth.loginModule: osgi> pt -v org.csstudio.auth.loginModule Extension point: org.csstudio.auth.loginModule [from org.csstudio.auth] Extension(s): ------------------- null [from org.csstudio.platform.jaasAuthentication] <loginModule> class = org.csstudio.platform.internal.jaasauthentication.JaasLoginModule id = org.csstudio.security.jaasAuthentication.jaasLoginModule name = JAAS Login Module </loginModule> Likewise, if you simply include the plugin org.csstudio.sns.dummyAuthorization, its plugin.xml will tell Eclipse that it has an authentication provider. You don't need to 1) Add those plugins to your product 2) _and_ set the extension points in your product plugin Just 1) is all you do. So maybe by doing 2) as well you actually registered the same loginModule twice, and that's what's causing the error "Found multiple login modules" -Kay |