From: Kasemir, K. <kas...@or...> - 2012-03-08 13:44:03
|
Moin Florian! The 'API' for auth & auth is defined in org.csstudio.auth. You can only load one implementation for each of the loginModule and the authorizationProvider. But it looks like you end up with more than one: 2012-02-29 17:31:50.904 SEVERE [Thread 1] org.csstudio.auth.internal.usermanagement.LoginContext (getLoginModule) - Found multiple login modules So you need to figure out which ones you have loaded. Start CSS with a command-line option "-console". That way you get the OSGi console on Linux and OS X. On Windows, the cmd.exe terminal doesn't really work, so use css.exe -console 9876 and then use telnet to connect to port 9876 to get to the console. (You can also use -console <TCP port> on Linux and OS X, but you don't have to) In the console, try "help" to see all the commands, and then see what's loaded for the extension point "org.csstudio.auth.loginModule". In my case I see that exactly one implementation is loaded, and it's provided by the plugin org.csstudio.platform.jaasAuthentication: 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> In your case you should see that at least 2 implementations are loaded, so pick only one and remove the other plugin from your product. -Kay On 2/29/12 12:26 , "Florian Feldbauer" <fl...@ep...> wrote: >Dear all, > >I'm trying to build a site-specific product of CSS for the PANDA >Experiment. >The product contains BOY, databrowser and the BEAST ui-feature. > >Like proposed in the doc-book I have created 3 features: >org.csstudio.panda.applications.feature >org.csstudio.panda.core.feature >org.csstudio.panda.eclipse.feature > >And the plugin >org.csstudio.panda.product > >When I run my product from the IDE, I get the following message: > >2012-02-29 17:31:50.904 SEVERE [Thread 1] >org.csstudio.auth.internal.usermanagement.LoginContext (getLoginModule) - >Found multiple login modules > >2012-02-29 17:31:50.919 SEVERE [Thread 1] >org.csstudio.auth.internal.usermanagement.LoginContext (getLoginModule) - >Found multiple login modules > >2012-02-29 17:31:50.919 WARNING [Thread 1] >org.csstudio.auth.internal.usermanagement.LoginContext (login) - No login >module provided. The system acts as anonymous login > > >Since the PANDA-Experiment is still in its R&D phase, I wanted to use >the dummy authorization from SNS. >So I have included these two plugins in my core feature: >org.csstudio.platform.login.dummy >org.csstudio.sns.dummyAuthorization >As far as I know, I have no other authentification modules included. > >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? > >Best regards, >Florian > >-- >------------------------------------- >| Florian Feldbauer | >| Ph.D. student | >| | >| Institut für Experimentalphysik I | >| Ruhr-Universität Bochum | >| Universitätsstr. 150 | >| D-44780 Bochum | >| | >| Office: NB 2/173 | >| Phone: (+49)234 / 32-23538 | >| Fax: (+49)234 / 32-14170 | >| Web: http://www.ep1.rub.de | >------------------------------------- > > >-------------------------------------------------------------------------- >---- >Virtualization & Cloud Management Using Capacity Planning >Cloud computing makes use of virtualization - but cloud computing >also focuses on allowing computing to be delivered as a service. >http://www.accelacomm.com/jaw/sfnl/114/51521223/ >_______________________________________________ >Cs-studio-users mailing list >Cs-...@li... >https://lists.sourceforge.net/lists/listinfo/cs-studio-users |