|
Re: Virgo 3.6.2 JAASRealm Valve LoginModule [message #1295436 is a reply to message #1237376] |
Mon, 14 April 2014 09:07 |
Klaus Ungerhofer Messages: 3 Registered: January 2014 |
Junior Member |
|
|
Hello again!
Really amazing almost 45500 reads and no answer!
Nevertheless i have solved the problem.
I will tell it to the community maybe someone of the 45000 readers needs the solution.
Here is the solution:
1.) I created a Fragment-Host bundle and set TomCat as Fragment-Host
Fragment-Host: org.eclipse.gemini.web.tomcat;bundle-version="[2.2.1.RELEASE,3.0.0.RELEASE)"
in the Import-Package Section i added all my packages for the valve and the login module
2.) I created a Bundle whitch imports all needed packages from Catalina, Servlet..
Import-Package:
org.apache.catalina.valves,
org.apache.catalina.authenticator,
org.apache.catalina.realm,
javax.security.auth.callback,
org.apache.catalina.deploy,
javax.servlet.http,
org.apache.catalina.connector,
org.apache.catalina,
javax.security.auth.spi,
javax.servlet
and exports here all packages which are imported in the Fragment-Host Bundle created in 1.)
Both bundles are deployed in the VIRGO_HOME/repository/usr repository
3.) define a Valve and the login module as discribed in the Virgo Dcoumentation / TomCat Realm Configuration
Hope it helps someone!
greets Klaus
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03558 seconds