)request.getUserPrincipal();
String uid = p.getName();
String passwd = p.getPassword();
Srofe, Douglas (c) wrote:
We use single sign for our Tomcat applications. We have another Tomcat
that hosts various web services. I would like to be able to send the
logged on users name and password as credentials to the web
Go to http://jakarta.apache.org/commons. There is a file upload component.
-Original Message-
From: Maruthi [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 10, 2004 5:05 AM
To: [EMAIL PROTECTED]
Subject: How to Upload a File Using JSP?.(Snippest of code needed)
Hello Everybody,
I got
We use single sign for our Tomcat applications. We have another Tomcat that
hosts various web services. I would like to be able to send the logged on
users name and password as credentials to the web service and have Tomcat
authenticate it. I have tested this part with a hardcoded user name and
I am trying to use the JNDI realm to access our Active Directory. The
server.xml entry I have is:
Realm className=org.apache.catalina.realm.JNDIRealm debug=99
connectionURL=ldap://ou=migrated users,ou=nmr,dc=enterprisenet,dc=org
userBase=cn=Users,dc=enterprisenet,dc=org
Thanks for your response. I have changed the url to the following:
connectionURL=ldap://nmr001dundom01:636/ou=migrated
users,ou=nmr,dc=enterprisenet,dc=org
Our admin said to use port 636.
However, I still get the same error saying it can't connect to
localhost:389.
As a test, should I be
: Srofe, Douglas (c) [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Sent: Tuesday, September 09, 2003 4:31 PM
Subject: RE: Tomcat and Active Directory
Thanks for your response. I have changed the url to the following:
connectionURL=ldap://nmr001dundom01:636/ou=migrated
users,ou
the Tools\Accounts menu). Also, you can try an
LDAP
browser, such as the one at http://www.iit.edu/~gawojar/ldap. Another
suggestion which you can try right now is to change the ldap to
ldaps in
the URL - port 636 is the SSL port for LDAP.
- Original Message -
From: Srofe, Douglas (c) [EMAIL
I am trying to use the JNDI realm to access our Active Directory. The
server.xml entry I have is:
Realm className=org.apache.catalina.realm.JNDIRealm debug=99
connectionURL=ldap://ou=migrated users,ou=nmr,dc=enterprisenet,dc=org
userBase=cn=Users,dc=enterprisenet,dc=org
In previous versions of Tomcat we would link to jar files located elsewhere
from the WEB-INF/lib directory. This worked fine. With version 4.1.12, it
breaks. I get an error in the log file that is a
java.lang.IllegalArgumentException: Invalid TLD resource path ...
Does anyone know what this is
Craig,
I have had some of the same issues to deal with. I accomplished this using
a filter instead of a listener. The reason I used a filter is because it
had access to the request and response information. A listener only had
access to the session. For config information I used a class I
I am trying to implement single authentication (form based) for multiple web
applications within a single virtual host. I have read the documentation
for single-sign on and have made that work. However, it appears that the
logon page(s) need to be in all web applications. Authentication is
-config
-Original Message-
From: Srofe, Douglas (c) [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 30, 2002 11:10 AM
To: 'Tomcat Users List'
Subject: Multiple Web App Authentication
I am trying to implement single authentication (form based) for multiple web
applications within a single
12 matches
Mail list logo