There is a file called Authenticators.properties, in there it maps what you specify in web.xml, to a specific authenticator. So you write your own authenticator, you add an entry into this file, change web.xml with your new auth-method

tc server does not come with something like this
best
Filip

On 01/27/2011 10:56 AM, beau.hutche...@thomsonreuters.com wrote:
Filip:
Thanks, I'll get going on my own authenticator right quick.
Does tcserver come with something like this out of the box?

Beau

-----Original Message-----
From: Filip Hanik - Dev Lists [mailto:devli...@hanik.com]
Sent: Thursday, January 27, 2011 12:41 PM
To: Tomcat Users List
Subject: Re: Tomcat Form Authentication that requires no password for
third party SSO

You could implement your own authenticator,
extending the class org.apache.catalina.authenticator.AuthenticatorBase

https://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/java/org/apache/catal
ina/authenticator/AuthenticatorBase.java?view=markup
protected abstract boolean authenticate(Request request, Response
response, LoginConfig config) throws IOException;

This would require a bit customization of Tomcat, but I would implement
my own class, and my own authentication scheme

Filip


On 01/26/2011 11:10 AM, beau.hutche...@thomsonreuters.com wrote:
Hello:
I am trying to integrate my application with an SSO partner
application.
After successfully logging into the partner app, I will be redirected
and only provided a username to log into my tomcat Form Authentication
app. I am using a DataSourceRealm to check for both Users and User
Roles.

Are there any suggestions as to how I can still authenticate() through
the tomcat container without providing a password?

Thanks for your attention,

Beau

---------------------------------------------------------------------
To unsubscribe, e-mail:users-unsubscr...@tomcat.apache.org
For additional commands, e-mail:users-h...@tomcat.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to