Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Virgo » RAP Security
RAP Security [message #665348] Thu, 14 April 2011 12:11 Go to next message
dima  is currently offline dima Friend
Messages: 2
Registered: April 2011
Junior Member
I have a very simple RAP (version 1.3.2) application which uses Equinox security. It's based on this article http://wiki.eclipse.org/RAP/Equinox_Security_Integration.
It works good in pure Equinox.

Then I try do deploy it on Virgo (version 3.0.0M03 and 2.1.0) using instructions from http://eclipsesource.com/blogs/2010/10/28/running-rap-on-virgo/. Of course I add org.eclipse.equinox.security to the plan.

When I start jetty manually it works, but when I try to use org.equinoxosgi.core.autostart bundle I have a strange problem:

javax.security.auth.login.LoginException: Failed to log in. 
	at org.eclipse.equinox.internal.security.auth.SecureContext.login(SecureContext.java:57) 
	at my.test.security.securitycore.service.impl.SecurityServiceImpl.login(SecurityServiceImpl.java:47) 
	at my.test.core.coreui.Application.createUI(Application.java:31) 
	at org.eclipse.rwt.internal.lifecycle.EntryPointManager.createUI(EntryPointManager.java:92) 
	at org.eclipse.rwt.internal.lifecycle.RWTLifeCycle.createUI(RWTLifeCycle.java:245) 
	at org.eclipse.rwt.internal.lifecycle.RWTLifeCycle$UIThreadController.run(RWTLifeCycle.java:114) 
	at java.lang.Thread.run(Thread.java:619) 
	at org.eclipse.rwt.internal.lifecycle.UIThread.run(UIThread.java:102) 
Caused by: javax.security.auth.login.LoginException: unable to find LoginModule class: org.eclipse.equinox.security.auth.module.ExtensionLoginModule in KernelBundleClassLoader: [bundle=org.equinoxosgi.core.autostart_1.0.0] 
	at javax.security.auth.login.LoginContext.invoke(LoginContext.java:808) 
	at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186) 
	at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683) 
	at java.security.AccessController.doPrivileged(Native Method) 
	at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680) 
	at javax.security.auth.login.LoginContext.login(LoginContext.java:579) 
	at org.eclipse.equinox.internal.security.auth.SecureContext.login(SecureContext.java:50) 
	... 7 more 


Could someone suggest how it can be fixed?
Re: RAP Security [message #665445 is a reply to message #665348] Thu, 14 April 2011 15:59 Go to previous message
Glyn Normington is currently offline Glyn NormingtonFriend
Messages: 1222
Registered: July 2009
Senior Member
Not sure, but you may get some ideas from this thread.
Previous Topic:How to get remote repositories working
Next Topic:does it make sense to have a plan file when your app is in pickup dir?
Goto Forum:
  


Current Time: Sat Dec 07 18:07:19 GMT 2024

Powered by FUDForum. Page generated in 0.03377 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top