Hi.
You can find discusion here:
http://groups-beta.google.com/group/comp.lang.java.programmer
tomcat-5.0.27 authentication/authorization
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/d86b1db12a57638d/1532ba9c63e42da3?q=tomcat-5.0.27+authentication
, not JK2 (JK2 is EndOfLive anyway. We dindn't
manage to get authentication to be passed through JK2)
- Disable JMXBeans support in server.xml
- Disable the Cojote/AJP13 connector in server.xml
- Enable the AJP13 connector in server.xml
- In IIS6 manager, Enable basic authentication in the jakarta
If you are using basic authentication, that is out of your control -
the browser will resend the authentication with every request. I does
not care at all about your session.
I think your simplest solution is to switch to form-based authentication.
Larry
On Thu, 27 Jan 2005 19:58:16 -0800 (PST
PROTECTED]
Sent: 27 January 2005 11:30
To: Tomcat Users List
Subject: RE: IIS, Tomcat and NTLM Authentication
Sorry! just noticed you are not moving to TC 5. Perhaps this does not solve
your problem afterall.
-Original Message-
From: Allistair Crossley
Sent: 27 January 2005 11:28
Hi Larry,
Thank you for your reply! Yes, I have tried the form authentication. It
does redirect to the login page when session expires.
Gia
Larry Meadors [EMAIL PROTECTED] wrote:
If you are using basic authentication, that is out of your control -
the browser will resend
the Intranet
or the Internet.
An issue has arisen with NTLM authentication. We extract a users
domain\username details using NTLM Authentication, the code is listed at the
bottom of this e-mail. This mechanism worked 100% on the old configuration.
Unfortunately with the IIS server upgrade and change
(tomcat-user@jakarta.apache.org)
Subject: IIS, Tomcat and NTLM Authentication
Hi
We have just upgraded our server software, running a Java
application, as
follows:
From:
IIS 4, Tomcat 4.1 - both running on same server - NT4
To:
IIS 5, Tomcat 4.1 - both running on same
Sorry! just noticed you are not moving to TC 5. Perhaps this does not solve
your problem afterall.
-Original Message-
From: Allistair Crossley
Sent: 27 January 2005 11:28
To: Tomcat Users List
Subject: RE: IIS, Tomcat and NTLM Authentication
Hi,
Sounds like you need to set
After chasing for a day, a nasty arose I thought
others might like to know of.
rhel has /etc/hosts localhost entry as
127.0.0.1 localhost.localdomain localhost
If you use form authentication, with server.xml entries such as
Realm className=org.apache.catalina.realm.JDBCRealm
might like to know of.
rhel has /etc/hosts localhost entry as
127.0.0.1 localhost.localdomain localhost
If you use form authentication, with server.xml entries such as
Realm className=org.apache.catalina.realm.JDBCRealm
debug=0
driverName=com.mysql.jdbc.Driver
connectionURL
-Original Message-
From: David Smith
Or grant privileges on the database to 'x'@'localhost' and
'x'@'localhost.localdomain'. Then give both accounts the
same password. It won't matter which one mysql sees
because they'll both work.
Thanks, easier than
Hi,
I am using Tomcat Container managed security: Basic Authentication by adding
the following to web.xml.
security-constraint
web-resource-collection
web-resource-nameThe Entire Web Application/web-resource-name
url-pattern/XMLServlet/url-pattern
/web-resource
error-code401/error-code
location/pages/error/noaccess.jsp/location
/error-page
Ashish
Thanks for the answer, but this method doesnt work.
Infact if a resourse is under authentication (like manager) and i setup a 401
page error,
the system does not ask for user
saying
type Status report
message
description This request requires HTTP authentication ().
Is possible to change this default page?
Tx everybody
Giorgio
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail
This request requires HTTP authentication ().
Is possible to change this default page?
Tx everybody
Giorgio
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Adobati
Omar Adobati ha scritto:
I never try it, but maybe u can write your own code into the login
page that redirect you on a different page if the login taske will not
completed as needed...
I can't try this :D
There is no login page, only a box appearing over the browser asking user and
password.
Oh, I'm sorry... you are using the basic auth mode... there was a
missunderstanding... sorry again...
On Mon, 24 Jan 2005 14:29:44 +0100, Giorgio Ponza [EMAIL PROTECTED] wrote:
Omar Adobati ha scritto:
I never try it, but maybe u can write your own code into the login
page that redirect you
Hi
May be try putting the following in web.xml file just
before taglib ( i am not sure but works with 2.2)
error-page
error-code403/error-code
location/pages/error/noaccess.jsp/location
/error-page
error-page
I have an Tomcat server on an internal network configured to require
basic authentication. This works fine when I use IE or Java code to
access a site, but when I try to access the site using Firefox, the
user/password is never accepted. I have packet sniffed the GET calls
from both IE and Firefox
Hi
i am using windows XP with service pack 1, and had
tried addind ResourceLink.. to my context.xml, but
still did not work, i am going to pass this problem
and use form based authentication which is working
fine
Ashish
--- Parsons Technical Services
[EMAIL PROTECTED] wrote:
IE on Linux
Hi
i am using tomcat5.0.28 and trying to setup basic or
form based authentication, and it is just not working,
following is the information in web.xml
security-constraint
web-resource-collection
web-resource-namesecure download maps software
/web-resource-name
url-pattern/pages/download
can you show haow you set up the context for this webapp?
On Thu, 20 Jan 2005 11:49:02 -0800 (PST), Ashish Kulkarni
[EMAIL PROTECTED] wrote:
Hi
i am using tomcat5.0.28 and trying to setup basic or
form based authentication, and it is just not working,
following is the information
PROTECTED] wrote:
Hi
i am using tomcat5.0.28 and trying to setup basic
or
form based authentication, and it is just not
working,
following is the information in web.xml
security-constraint
web-resource-collection
web-resource-namesecure download maps software
/web-resource
Hi
i was able to make my application work with form
authentication, then i changed the login-config to
make it basic authentication like below,
but i am not getting any login window, it just gives
me no access 403 error why
login-config
auth-methodBASIC/auth-method
realm-nameBasic
what browser ar you using?
-Original Message-
From: Ashish Kulkarni [mailto:[EMAIL PROTECTED]
Sent: Friday, January 21, 2005 6:24 AM
To: tomcat-user@jakarta.apache.org
Subject: problem with Basic authentication -- no window to login
Hi
i was able to make my application work with form
with Basic authentication -- no
window to login
Hi
i was able to make my application work with form
authentication, then i
changed the login-config to make it basic
authentication like below, but
i am not getting any login window, it just gives me
no access 403 error
why login-config auth
authentication -- no window to login
I have tried internet explorer and mozilla
Ashish
--- Aris Javier [EMAIL PROTECTED] wrote:
what browser ar you using?
-Original Message-
From: Ashish Kulkarni
[mailto:[EMAIL PROTECTED]
Sent: Friday, January 21, 2005 6:24 AM
To: tomcat-user
]
To: Tomcat Users List tomcat-user@jakarta.apache.org
Sent: Friday, January 21, 2005 12:20 AM
Subject: RE: problem with Basic authentication -- no window to login
assuming you're using linux.. I encountered this problem
in mozilla 1.6... downloaded 1.7 version and login window
appeared
Good Morning,
I would like to know if there is a way to share authentication
informations and session informations too betwen a page and another
one thet is into a iframe.
The authentication is done usiing the tomcat capabilities
(form-authentication method)
--
Adobati Omar
[EMAIL PROTECTED
On Mon, Jan 17, 2005 at 08:45:20PM +0100, Omar Adobati wrote:
: I would like to know if there is a way to share authentication
: informations and session informations too betwen a page and another
: one thet is into a iframe.
: The authentication is done usiing the tomcat capabilities
: (form
the scenario is the last u said.
There is a way, maybe playing with context, to do what i need?
On Mon, 17 Jan 2005 14:24:09 -0600, QM [EMAIL PROTECTED] wrote:
On Mon, Jan 17, 2005 at 08:45:20PM +0100, Omar Adobati wrote:
: I would like to know if there is a way to share authentication
On Mon, Jan 17, 2005 at 09:28:49PM +0100, Omar Adobati wrote:
: If the two resources are not part of the same webapp, then no, this
: isn't possible (read: not possible using standard J2EE session scoping).
: There is a way, maybe playing with context, to do what i need?
If both sites/webapps
Hello:
I am running Tomcat 5.0. I installed it
about 2 months back and I have been learning the ropes these days.
This morning when I tried to go into the
Manager application and/or the admin application (http://127.0.0.1:8080/admin/), I get an
authentication box:
I dont know
List'Subject: Why am I
getting this authentication window
Hello:
I am running Tomcat 5.0. I installed it
about 2 months back and I have been learning the ropes these
days.
This morning when I tried to go into the
Manager application and/or the admin application (http://127.0.0.1
_
From: Dale, Matt [mailto:[EMAIL PROTECTED]
Sent: Friday, January 14, 2005 12:10 PM
To: Tomcat Users List
Subject: RE: Why am I getting this authentication window
you need to add a user with the manager role to the tomcat-users.xml file.
Then use this login and you will be able to access
Sorry, no problem. The account password is wrong.
-Original Message-
From: Daxin Zuo [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 13, 2005 3:44 PM
To: Tomcat Users List
Subject: Authentication problem in Sending email from servlet. (tomcate
5)
Hi,
In my web page, user sends
and password, because the C++ program
sends email without authentication.
if I set prop.put(mail.smtp.auth, false);
Exception: SendEmail Error: javax.mail.AuthenticationFailedException
If I set to Password and username to , or set the user name to the
From-Email address:
SendEmail Error
Hi all.
For the web-application I'm developping, I need the user to authenticate
himself.
I read tomcat documentation and found the realms.
My question is: are there best pratice on how to use realm?
Thanks.
Fred.
Ce message et toutes les
Try http://jakarta.apache.org/tomcat/tomcat-4.1-doc/realm-howto.html for
Simple Authentication.
Is there any reason why you are going to Realm specifically. If the
application security is
least of concern then it would be ok. Else it would be better to go for
other security soln.
Regards
What's insecure about using a realm ?
Security level is dependant on the realm type (e.g. jdbc/jndi can be used to),
no ?
-Original Message-
From: Rajaneesh [mailto:[EMAIL PROTECTED]
Sent: 12 January 2005 12:13
To: 'Tomcat Users List'
Subject: RE: Authentication - Best practice
List
Subject: RE: Authentication - Best practice
What's insecure about using a realm ?
Security level is dependant on the realm type (e.g. jdbc/jndi can be used
to), no ?
-Original Message-
From: Rajaneesh [mailto:[EMAIL PROTECTED]
Sent: 12 January 2005 12:13
To: 'Tomcat Users List
Ok!
I found the link... It is here.
java.sun.com/developer/Books/certification/scwcd_9.pdf
Regards
Rajaneesh
-Original Message-
From: Rajaneesh [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 12, 2005 4:57 PM
To: 'Tomcat Users List'
Subject: RE: Authentication - Best practice
Hi
Ah ok, in that case I'm not worried ;-)
The security level aimed for should be dependant on the application/client
types of the company, there are a lot of (mostly small) companies who do not
want more security then HTTP Basic authentication simply because none of the
applications they develop
Rajaneesh wrote:
Hi,
It uses Base64 for sending the data. Heard that Base64 data is easily
compramised compared to SSL.
Please correct me if I am wrong.
You are not wrong. HTTP Basic authentication uses base64 encoding of
user credentials. base64 is encoding, not encrypting. The only thing
On Jan 12, 2005, at 12:03, VAN DER MARLIERE FREDERIC wrote:
My question is: are there best pratice on how to use realm?
RFC 2617 - HTTP Authentication: Basic and Digest Access Authentication
http://www.faqs.org/rfcs/rfc2617.html
In a nutshell, neither Basic nor Digest offers much in terms
On Jan 12, 2005, at 13:04, Nikola Milutinovic wrote:
SSL is encryption using asymetric+symetric encryption. Asymetric is
used for the initial handshake/negotiation (usually RSA) and symmetric
is for the channel traffic encryption (usually 3DES).
You can also use TLS for authentication purpose
I wish to use form-based authentication that accepts users with the
following credentials:
username = any string (ex.: test)
password = length of username (ex: 4)
This is a silly security system, I admit. However, a solution to this
problem will help me to solve my *real* problem.
Obviously
@jakarta.apache.org
Sent: Saturday, January 08, 2005 12:57 AM
Subject: Chirag: Logout from the JDBCRealm Authentication
Software
JDK1.5
jakarta-tomcat-5.5.2
Requirement
---
I am using JDBCRealm Authentication.
I want to provide a logout facility and I could do
changes have been made
in the code.
2. I have not done this myself. Just makes sense that if you reverse what
the register method does..
Doug
- Original Message -
From: Chirag
To:
Sent: Saturday, January 08, 2005 12:57 AM
Subject: Chirag: Logout from the JDBCRealm Authentication
Software
JDK1.5
jakarta-tomcat-5.5.2
Requirement
---
I am using JDBCRealm Authentication.
I want to provide a logout facility and I could do that with
session.invalidate() function but is there any other way by which without
destroying the session we can logout
On Wed, Jan 05, 2005 at 09:07:19PM -0800, Chirag wrote:
: After the user Logins in the Server through JDBCRealm Authentication I want
to store the user Details in the session
:
: I know there is something called request.getUserPrincipal().getName()
: But i need to store the whole companydetails
PROTECTED] wrote:On Wed, Jan 05, 2005 at 09:07:19PM -0800, Chirag
wrote:
: After the user Logins in the Server through JDBCRealm Authentication I want
to store the user Details in the session
:
: I know there is something called request.getUserPrincipal().getName()
: But i need to store the whole
Trying to implement a javax.servlet.Filter
It has a method which is
public void doFilter(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response, javax.servlet.FilterChain filterChain)
throws java.io.IOException, javax.servlet.ServletException
But I want to access the
Software
JDK1.5
jakarta-tomcat-5.5.2
Requirement
After the user Logins in the Server through JDBCRealm Authentication I want to
store the user Details in the session
I know there is something called request.getUserPrincipal().getName()
But i need to store the whole companydetails in the Session
).
Is it possible to achieve or not because as far as i know JSSE
and Claymore' PureTLS (SSL implementations) both make Server
authentication
mandatory !!
Thanks in advance !!
Onkar
Hi ,
I want Client ( Web Browser) to be authenticated and not the
Server ( Web Server).
Is it possible to achieve or not because as far as i know JSSE
and Claymore' PureTLS (SSL implementations) both make Server
authentication
mandatory !!
Thanks
Hi I'm having trouble getting form based authentication to work. Any help much
appreciated.
I'm missing something simple I'm sure. (TC 5.0.19, W2K, Mysql4)
I am using a JDBC Realm which works fine with BASIC auth.
After changing to FORM and try
http://127.0.0.1:8080/MyApp/security/protected
Hi,
see this this might help you
http://www.webservertalk.com/message633890.html
cheers
Manish
-Original Message-
From: Chris Chappell [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 21, 2004 7:45 PM
To: Tomcat Users List
Subject: FORM based authentication config
Hi I'm having
the error page
Chris
- Original Message -
From: Goel, Manish Kumar [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Tuesday, December 21, 2004 2:26 PM
Subject: RE: FORM based authentication config
Hi,
see this this might help you
http://www.webservertalk.com/message633890
On Tue, 2004-12-21 at 16:15, Chris Chappell wrote:
Hi I'm having trouble getting form based authentication to work. Any help
much appreciated.
I'm missing something simple I'm sure. (TC 5.0.19, W2K, Mysql4)
I am using a JDBC Realm which works fine with BASIC auth.
After changing to FORM
I have a servlet that I do custom authentication with on the backend,
but I want to move this MYSQL authentication into Tomcat. Does Tomcat
support user authentication from a database?
-M
-
To unsubscribe, e-mail: [EMAIL
: MYSQL Authentication
I have a servlet that I do custom authentication with on the backend,
but I want to move this MYSQL authentication into Tomcat. Does Tomcat
support user authentication from a database?
-M
-
To unsubscribe, e
it works, if I go
to http://xxx/resources/input it fails without ever showing me the basic
authentication popup login window. The full error message from the
browser is :
HTTP Status 401 -
*type* Status report
*message
the AccessLogValve
on tomcat and see if your request is getting through.
Charlie
-Original Message-
From: Jim Lynch [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 16, 2004 8:28 AM
To: Tomcat Users List
Subject: Re: Authentication isn't working with mod_jk 1.7.3 beta.
That's quite
On Fri, 17 Dec 2004 10:55:27 -0500, Jim Lynch [EMAIL PROTECTED] wrote:
The request is making a single entry into the log.
198.149.32.31 - - [17/Dec/2004:09:46:27 -0600] GET /resources/input
HTTP/1.0 401 667
If I go to port 8080 and get validated, then it works without the port 8080.
It's
Is there something special I have to do in mod_jk config file for apache
2 that I didn't have to do for Apache 1.3 to permit basic authentication?
Here is the section of the server.xml file dealing with the
authentication I'm using:
Context className
, but the
authentication doesn't work through the connector.
This simply is not true.
It works very fine, and the authentication window is showed
to the user. Check your config.
Mladen.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
: Authentication isn't working with mod_jk 1.7.3 beta.
That's quite possible but not helpful. The configuration is identical
in essence to a working version on apache 1.3. Can anyone tell me what
the differences are between the two are?
Jim.
Mladen Turk wrote:
Jim Lynch wrote:
I finally
Jim Lynch wrote:
I finally got mod_jk to comple on RH 9 for Apache 2, but the
authentication doesn't work through the connector.
This simply is not true.
It works very fine, and the authentication window is showed
to the user. Check your config.
Mladen
I finally got mod_jk to comple on RH 9 for Apache 2, but the
authentication doesn't work through the connector. If I go to port 8080
I get the login popup and am able to enter the app OK, however if I try
to go to the default port and connect via mod_jk I get an authentication
error. I never
certificate code works, because it worked when I
was using the tomcat webserver alone. It seems like apache is doing
something that keeps the client certificate information from being
passed to tomcat.
From the Apache list they told me that Apache will be doing the client
cert authentication and will pass
Peter Neu wrote:
Hello all,
does anyone know what I means when I get this error message:
The requested resource (/favicon.ico) is not available.
when I try to log in via form authentication. This error occurs
when I use Firefox.
/favicon.ico is a semi-supported feature, introduced by IE5, if I'm
Hi Bob,
I looked through the source of AuthenticatorBase but could not find
the checkUserData method. It seems the whole thing has changed to
some degree in the last few releases.
Seems like I can't serve any Firefox clients.
Regards,
Peter
Bob Feretich schrieb:
I have not examined Tomcat 5. My
of defining the authentication in
the web-xml ?
If it helps the relevant part in the web.xml looks like this:
security-constraint
web-resource-collection
web-resource-name Entire Application /web-resource-name
url-pattern/*/url-pattern
http-methodGET/http-method
http-methodPOST/http-method
I experienced as problem that might be similar to yours. I was testing
with Netsacpe 7 (Mozilla based like Foxfire) and IE. My form
authentication worked with IE, but not Netscape.
It occurred quite a while ago (using Tomcat 4.1.x), so I am not clear on
the exact details. My debug showed
was testing
with Netsacpe 7 (Mozilla based like Foxfire) and IE. My form
authentication worked with IE, but not Netscape.
It occurred quite a while ago (using Tomcat 4.1.x), so I am not clear
on the exact details. My debug showed that Netscape was not handling
the session cookies the same way
Hello all,
does anyone know what I means when I get this error message:
The requested resource (/favicon.ico) is not available.
when I try to log in via form authentication. This error occurs
when I use Firefox.
Regards,
Peter
I have not examined Tomcat 5. My hosting provider doen't support it, yet.
For Tomcat 4.1.21 (and may be the same for Tomcat 5):
1) Download the source tree from the jakarta.apache.org site.
2) AuthenticatorBase can be found at
catalina/src/share/org/apache/catalina/authenticator/
3) After you
Hi
I am using Form Authentication on Tomcat 4.1.30 and oracle ojdbc14.jar
driver. It always fails.
When I used debugger in the JDBCRealm class of Tomcat, All my user id / db
info is right, but when the username is set on the preparedstatement, it
does not work. I always get an empty resultset
Hello everybody,
I'm using form authentication to log on the users to my website.
Until now I was using Mozilla Firefox for developement but
now I came across this problem that Firefox doesn't allow
a clean log in and always redirects to the error.jsp. The
authentication is correct because
Hi all,
I offer download of a file on my site. It sends content using
ServletOuputStream. This is the command that I exectly want to constraint
with Tomcat's security mechanism (I use JDBC Realm).
After user clicks on download, s/he gets forwarded to login. After login the
File Download popup
Peter Neu wrote:
Hello everybody,
I'm using form authentication to log on the users to my website.
Until now I was using Mozilla Firefox for developement but
now I came across this problem that Firefox doesn't allow
a clean log in and always redirects to the error.jsp. The
authentication
I have same problem and i don't find any answer to resolved. :(
SOS!! :(
Did you resolved this problem? How?
El mar, 19-10-2004 a las 12:15 +0200, Martin Grüneberg escribió:
Hello,
I have a real strange Problem with Tomcat and IE
When I get forwarded to the login page of my application and
to not require
client-side authentication (for example in tomcat the configuration
attribute 'clientAuth=false' would be used). However, when I turn on this
attribute and require client-side authentication, the client fails to
communicate successfully with the Tomcat5 server. The following exception
]
Subject: SSL mutual authentication problem with Tomcat5
Hello,
I'm trying to have a standalone Java client communicate via SSL with a
remote Tomcat5 server. I'm setting the two system properties for specifying
the SSL trust store path and trust store password. The client is able to
successfully
=false in the jk2.properties file instead and link it, so.
All the best, Allistair.
-Original Message-
From: news [mailto:[EMAIL PROTECTED] Behalf Of Bill Barker
Sent: 12 November 2004 04:42
To: [EMAIL PROTECTED]
Subject: Re: Tomcat 5.5.4 and Deferred IIS NTLM Authentication
Tomcat
Hi,
OK, apart from my logging problem, the only other main issue appears to be that
Tomcat is no longer receiving a populated request.getRemoteUser value.
In Tomcat 5.0 series, we had to add the following line to jk2.properties
request.tomcatAuthentication=false
In order to instruct Tomcat to
I would like to use container-based declarative authentication without
the need to modify any files in $CATALINA_HOME/conf directory.
To simplify my question a bit: is it somehow possible to make tomcat
read tomcat-users.xml from the war file, and not from
$CATALINA_HOME/conf?
Michal
in Server.xml.
You need not use a flat file format though to serve your username/password
combinations just because you are using Basic Authentication. The two are
separate issues:
issue one is:
What type of authentication do I want? Form, Basic, Digest, Client-Cert.
This is a Sun servlet
Tomcat 5.5.x doesn't use jk2.properties by default. To use it, you need:
Connector protocol=AJP/1.3 propertiesFile=conf/jk2.properties ...
/
Alternatively you can configure it directly:
Connector protocol=AJP/1.3 request.tomcatAuthentication=false ...
/
Allistair Crossley [EMAIL
Hi,
(Sorry, I posted this message under the wrong thread before)
I am using Apache - modjk -Tomcat 5 configuration.
The tomcat manager app uses BASIC authentication. When I point my
browser to /myurl/manager the browser pops up a dialog box for the
username and password. Upon entering
.
The tomcat manager app uses BASIC authentication. When I point my
browser to /myurl/manager the browser pops up a dialog box for the
username and password. Upon entering the correct information it logs me
into the manager app.
I am trying to now use JMeter to log in to the manager app:
URL
Authentication Problem LDAP
Hi All,
I got my problem solved..The culprit was that I hadn't included the
attribute digest with value SHA (SHA because my LDAP directory is
storing the password in this format) in the realm directive in
server.xml. Also, I had to change role-namecn/role-name to
role-name
Hi All,
I got my problem solved..The culprit was that I hadn't included the
attribute digest with value SHA (SHA because my LDAP directory is
storing the password in this format) in the realm directive in
server.xml. Also, I had to change role-namecn/role-name to
role-name*/role-name in web.xml.
that the application on my subdomain uses form
authentication and after a successful login, the redirect goes to the
default Tomcat index.jsp file rather than the default index.jsp file
for the application as its supposed to. The index.jsp page for the app
is in the root dir of the app folder
I'm not a specialist in this but it smells like you're saying that the
role name are listedin the attribute 'cn' and that to access your site
the connected user should have the role 'cn' hence if you do not have a
user with it's cn=cn (attribute cn = value cn), it won't work. Maybe
you could
Hi,
I have a problem trying to authenticate users, whose details are
stored in the LDAP directory through Apache Tomcat. The details of the
software I am using are as follows :
LDAP: OpenLDAP V 2.2.17
Web-Server: Apache-Tomcat V 4.1.30
OS: Suse - Linux
The LDAP directory structure is somewhat
Hi
How do I manually authenticate a user given a String username and
String password? My applicaton needs to use this feature in a Struts
ActionForm, is it possible with JDBCRealm?
I am using Tomcat 5 BTW.
Thanks,
Ben
-
To
Hi!
I can't figure out why my BASIC authorization isn't working for my app. The
pages show up as 401 Not Authorized, but no popup authorization window pops
up! Further, the admin and manager apps are working using my JDBCRealm
(:Enter Password window does pop up). Help appreciated.
server.xml:
Nevermind. I had a 401 page defined in web.xml, so it was being sent there
instead of the browser. My mistake.
- Original Message -
From: e-Denton Subscriber [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Saturday, October 23, 2004 4:06 PM
Subject: BASIC authentication
201 - 300 of 1763 matches
Mail list logo