You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Nat Titman <na...@choosemcs.co.uk> on 2005/03/01 17:38:22 UTC

Single Sign On

Hi,

I'm using Tomcat 5.5.3 running as part of an Apache webserver on Fedora 
Core 1.

I need to protect all the webapps running on Tomcat under a username and 
password and have found in the docs that I should be using the Single 
Sign On functionality.

I've put the following inside the <Host ...> tag in server.xml:

<Valve className="org.apache.catalina.authenticator.SingleSignOn"
          debug="0"/>

I believe I now need to put a Realm or realm-name tag somewhere inside 
the same <Host ...> tag, but all the documentation I can find for the 
placement and form of a Realm tag seems to assume that the realm will be 
connected to a database of users, roles and passwords.

I only want one realm, one username and one password for all the webapps.

Thanks in advance for any help, I'm sure I'm just missing the 
appropriate page in the documentation (there seemed to be a lot of links 
labelled FIXME in that area).


Nat.

-- 
Nat Titman
Developer

MitchellConnerSearson
3-5 High Pavement
The Lace Market
Nottingham  NG1 1HF
Tel +44 (0)115 959 6455
Fax +44 (0)115 959 6456
Direct +44 (0)115 959 6462
www.choosemcs.co.uk

Confidentiality: This e-mail and its attachments are intended
for the above named only and may be confidential. If they have
come to you in error you must take no action based on them,
nor must you copy or show them to anyone; please reply to this
e-mail and highlight the error.

Security Warning: Please note that this e-mail has been
created in the knowledge that Internet e-mail is not a 100%
secure communications medium. We advise that you understand
and observe this lack of security when e-mailing us.

Viruses: Although we have taken steps to ensure that this
e-mail and attachments are free from any virus, we advise that
in keeping with good computing practice the recipient should
ensure they are actually virus free.


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org