A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Other JSE/JEE APIs
Using JAAS to authenticate tomcat users
Joined: Oct 18, 2004
Oct 19, 2004 12:01:00
I am aware that JAAS can be used to authenticate users on
. This normally involves a user id and a password.
We identify our users via user id, site id and password. Can JAAS be used to do this?
SCJP 1.1 (04/1999)
Joined: Apr 14, 2004
Oct 20, 2004 02:46:00
I'd read the
JAAS Reference Guide
if I were you, its very useful since there are more new concepts to grasp with JAAS than with some other API.
For your requirements you can write a LoginModule whose login method can use the three properties you need to authenticate someone.
We use JAAS with
currently (which uses Tomcat as its web container) to do our custom authentication.
Joined: Jun 11, 2004
Nov 23, 2004 06:40:00
you should have a look towards jGuard (
) which integrate JAAS into
webapps in a RBAC way.
I agree. Here's the link:
subject: Using JAAS to authenticate tomcat users
Use JAAS for access control.
User Authentication against window active directory
PMGR6020E: Error connecting to adapter for Oracle
JDBC-DB2 connectivity issue
Using JAAS for multiple password sources
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014