JBoss Authentication Mechanism Similar to Tomcat's Realms or Resin'sAuthenticators

J

Jonathan M. Rose

Hello All:

Does JBoss support an authentication mechanism similar to Tomcat's
Realms or Resin's Authenticators? In particular, I am looking for a way
to be passed the username and password into a class, which would then
return (perhaps a Boolean) whether that username and password were correct.

The reason I'm asking is that I would like to authenticate against an
XML file like:

....
<user>
<login>jonrose</login>
<password>mypass</password>
</user>
....

or something similar. I don't want to have to edit the web.xml file
because I would like deployment of this application to be something
like: 1) copy the WAR file to the correct location and set up the
server, 2) edit a sample configuration file (with the above
username/password section) to fit the user's needs and 3) use the
application.

Any ideas? Do I really need to mess with JAAS? If so, are there any
tutorials dealing with JAAS and JBoss?

Thank you for your time!

-Jon
--
Jonathan M. Rose
President, Farious Net Solutions
Phone: (866)NET-SOLN; Web: http://www.farious.com
Computer sales and service, Linux deployment and maintenance, low
voltage wiring and Java/database Programming for the northern New
Jersey/New York City area. Call us today!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,983
Messages
2,570,187
Members
46,747
Latest member
jojoBizaroo

Latest Threads

Top