[jetty-users] Is there any test case or sample XML file to demo how to configure JASPI?

2011-03-22 Thread Guofeng Zhang
Hi, We used JBoss' JASPI, but now we want to use Jetty as a lightweight web container. So JASPI is a better feature in Jetty for our migration. Could you give me a simple XML demo for me to know where could I start? for example, what POJO to instantiate, or something like configuring JAASLo

Re: [jetty-users] Is there any test case or sample XML file to demohow to configure JASPI?

2011-03-22 Thread Guofeng Zhang
, Shirley On Tue, Mar 22, 2011 at 6:51 AM, Guofeng Zhang wrote: Hi, We used JBoss' JASPI, but now we want to use Jetty as a lightweight web container. So JASPI is a better feature in Jetty for our migration. Could you give me a simple XML demo for me to know where could I start

[jetty-users] Unable to find LoginModule class, how to solve it?

2011-09-11 Thread Guofeng Zhang
Hi, I developed a login module and configure it following Jetty/Tutorial/JAAS. When I try to log in from my web login page, i got the following error and my page is directed to the login error page: WARN:oejpj.JAASLoginService: javax.security.auth.login.LoginException: unable to find LoginModule c

Re: [jetty-users] Unable to find LoginModule class, how to solve it?

2011-09-12 Thread Guofeng Zhang
tly what my > > problem was. > > > > However could you please paste: > > > > - All JAAS config files you've created > > - The commandline you use to start jetty > > - jetty-plus.xml > > - web.xml > > > > It's crucial that you don

Re: [jetty-users] Unable to find LoginModule class, how to solve it?

2011-09-12 Thread Guofeng Zhang
if I add my login module jar with "-Dpath" in the command line as the following: java -Dpath=jars/org.planner.security-1.0.0-SNAPSHOT.jar -Djava.security.auth.login.config=file://D:/projects/ap/jetty-distribution-8.0.1.v20110908/conf/jaas.conf -jar start.jar it works well. but if I simply copy th

Re: [jetty-users] Unable to find LoginModule class, how to solve it?

2011-09-14 Thread Guofeng Zhang
-INF/lib? > > Can you post the log stack trace showing the error about the Credential > please? > > thanks > Jan > > On 13 September 2011 01:46, Guofeng Zhang wrote: > >> I can run my web app using jetty-maven-plugin by setting the follow

[jetty-users] JASPI 196: make it work on Jetty 8

2011-09-27 Thread Guofeng Zhang
Hi, JASPI make us to plug in other authentication module (for example, using openID or other mechanism to authenticate users) easier on Jetty for container-managed security. There is jetty-jaspi module in the Jetty source code base, but I think it has not been maintained for a long time. By ma

Re: [jetty-users] JASPI 196: make it work on Jetty 8

2011-09-28 Thread Guofeng Zhang
een jetty-7 and jetty-8 as possible, so I'd like to know if this is something that should go into jetty-7, and will then get merged into jetty-8, or if this is a problem specific to jetty-8. thanks Jan On 28 September 2011 15:23, Guofeng Zhang mailto:guof...@radvision.com>> wrote: Hi,

Re: [jetty-users] JASPI 196: make it work on Jetty 8

2011-09-28 Thread Guofeng Zhang
mcconnell jesse.mcconn...@gmail.com<mailto:jesse.mcconn...@gmail.com> On Wed, Sep 28, 2011 at 02:30, Guofeng Zhang mailto:guof...@radvision.com>> wrote: > The sources in jetty-7.5.1.v20110908/jetty-jaspi and > jetty-8.0.1.v20110908/jetty-jaspi are the same each other. > > &

Re: [jetty-users] JASPI 196: make it work on Jetty 8

2011-09-28 Thread Guofeng Zhang
ssle :) cheers, jesse -- jesse mcconnell jesse.mcconn...@gmail.com<mailto:jesse.mcconn...@gmail.com> On Wed, Sep 28, 2011 at 02:30, Guofeng Zhang mailto:guof...@radvision.com>> wrote: > The sources in jetty-7.5.1.v20110908/jetty-jaspi and > jetty-8.0.1.v20110908/jetty-jaspi

Re: [jetty-users] Need "ServerAuthentication" info...

2011-11-01 Thread Guofeng Zhang
You might be interested in https://bugs.eclipse.org/bugs/show_bug.cgi?id=359329 From: jetty-users-boun...@eclipse.org [mailto:jetty-users-boun...@eclipse.org] On Behalf Of gopinath nallamolu Sent: Monday, October 31, 2011 4:56 PM To: jetty-dev-requ...@eclipse.org; jetty-annou...@eclipse.org; jet

[jetty-users] why does jetty-plus bundle not import javax.security.* package?

2011-12-08 Thread Guofeng Zhang
Hi, In the jetty-plus's pom file, there is the line in maven-bundle-plugin configuration: !javax.sql.*;!javax.security.*;!... This means that it does not import packages under javax.security. But the classes like JAASLoginService in org.eclipse.jetty.plus.jaas and its subpackage impor

Re: [jetty-users] why does jetty-plus bundle not import javax.security.* package?

2011-12-08 Thread Guofeng Zhang
This is for 8.0.4. it is well defined in 7.5.4. I think OSGi support is not merged compleleted to 8.0 branch. From: jetty-users-boun...@eclipse.org [mailto:jetty-users-boun...@eclipse.org] On Behalf Of Guofeng Zhang Sent: Friday, December 09, 2011 11:55 AM To: jetty-users Subject: [jetty-users

Re: [jetty-users] why does jetty-plus bundle not import javax.security.* package?

2011-12-08 Thread Guofeng Zhang
, Guofeng Zhang mailto:guof...@radvision.com>> wrote: Hi, In the jetty-plus’s pom file, there is the line in maven-bundle-plugin configuration: !javax.sql.*;!javax.security.*;!... This means that it does not import packages under javax.security. But the classes like JAASLoginServ

[jetty-users] Jetty SPDY use split package?

2012-09-17 Thread Guofeng Zhang
Hi, These days I learning how Jetty support SPDY. I found that spdy-core and spdy-jetty use the same package name. the SPDY modules and npn module has no OSGi headers defined. My question is: will these modules support OSGi in the future, and if so, is there not any issue for the split packag

Re: [jetty-users] Jetty SPDY use split package?

2012-09-27 Thread Guofeng Zhang
e: the jetty-spdy-server-http > lists an optional import for the package org.eclipse.jetty.npn We > think we should eventually not import it at all in OSGi. > > Let us know how it goes. > Hugues > [1] http://wiki.eclipse.org/Jetty/Feature/NPN > > On Tue, Sep 18, 2012 a

Re: [jetty-users] Jetty SPDY use split package?

2012-12-05 Thread Guofeng Zhang
oment, we chose to be flexible: the jetty-spdy-server-http > lists an optional import for the package org.eclipse.jetty.npn We > think we should eventually not import it at all in OSGi. > > Let us know how it goes. > Hugues > [1] http://wiki.eclipse.org/Jetty/Feature/NPN > &