Hi everybody,
We have several virtual machines on Windows 2008 server with Tomcat 6.0.26
64 bits (JDK 1.6 64 bits). The servers have 6 Go of RAM and we declare 4 Go
for the Tomcat. Our application works fine except some days. On these days,
the CPU are stuck at 100% and doesn't decrease. Do you hav
Hi everybody,
We have several virtual machines on Windows 2008 server with Tomcat 6.0.26
64 bits (JDK 1.6 64 bits). The servers have 6 Go of RAM and we declare 4 Go
for the Tomcat. Our application works fine except some days. On these days,
the CPU are stuck at 100% and doesn't decrease. Do you hav
Hello,
When I look all the JAAS example, I see that you have to use the following code
to use the LoginModule, etc...
LoginContext lc = new LoginContext("MyExample");
try {
lc.login();
} catch (LoginException) {
// Authentication failed.
}
The "MyExample" is the name th
Hello,
I implements successfully a JAAS authentification but an error sometimes
appends :
The process is :
First I logon the application ssuccessfully (JAAS OK => LoginModule return
true) => My application JSP page is weel displayed
Then I disconnect (session.invalidate())
Then I try to reconnect
Hello, I use JAAS and filter (security-filter) of Tomcat with the
j_security_check.
So here is the context :
- the user try to access to the ActionServlet?action=welcome
As the user is not authenticates, it loads the login.jsp page :
- login.jsp submit the username and password through the j_secur
AS : HTTP 400 Invalid direct reference to form login ... (JAAS
> + Filter + j_security_check)
>
> Login module should return false if not authenticated. If you need to
> store messages for the user, i'll suggest you pass them another way
> (like by using a ThreadLocal pattern)
>
Hello, I implements a solution with JAAS and userfilter on Tomcat.
the loginmodule return always 'true' eventhough the password is wrong. I do
that to be able to return detail error messages to the login.jsp. (I use the
role principal to display messages).
The filter is used to dispatch to the
Hello, I had a problem implementing JAAS with Tomcat and I found my error, I
was specifying my custum loginModule in the
(I want to create a index.jsp page with 2 fields (login, pwd) and use the
j_security_check).
Thanks again
conf
file...
> Message du 15/02/06 à 19h29
> De : "Caldarale, Charles R"
> A : "Tomcat Users List" , [EMAIL PROTECTED]
> Copie à :
> Objet : RE: LoginModule JAAS and Tomcat (initialize method is not called)
>
> > From: Vincent Delhommois [mailto:[E
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Un
known Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
> Message du 15/02/06 à 17h51
> De : "Vincent Delhommois"
> A : users@tomcat.apache.org
> Copie à :
> Objet : LoginModule JAAS and Tomcat
Hello,
I developped my own LoginModule which is very simple for the moment. I wanted
to know if I have to create the JAAS configuration file ? If yes where you I
locate it ?
When I start Tomcat, the constructor of the LoginModule is well called but
Tomcat failed before the initialize method. Tom
11 matches
Mail list logo