• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Tim Cooke
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Junilu Lacar
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Stephan van Hulst
  • Peter Rooke
  • Mikalai Zaikin
Bartenders:
  • Himai Minh

Login Module configuration

 
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I am pretty new to Jboss server. Can anybody help me out in cofiguring Login Module. My requirement is not to use any property files, the username and password should be stored in Jboss inbuilt database server(if it has one). Quick reply would be highly appreciated.

Thanks and Regards,
Kalai Selvan T.
 
Ranch Hand
Posts: 243
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You can use DatabaseServerLoginModule. See JBoss QuickStart.pdf, or jbossj2ee.pdf for more explanation.
 
Kalai Selvan
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
Sanju Tanks for your reply.
Can u (or any one else) please help me out in using HypersonicSql database for jaas authentication. I gone through the quickstart.pdf, its looking bit bouncer for me........


Thanks and Regards,
Kalai Selvan T.
 
Sanju Thomas
Ranch Hand
Posts: 243
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You need to give an entry in the JBOSS_HOME/server/conf/login-module.xml file. It would be something like this.




You have to use application policy name in the jboss.xml file. Then it would be something like this.

<?xml version="1.0" encoding="UTF-8"?>
<jboss-web>
<security-domain>java:/jaas/yourname</security-domain>
</jboss-web>

Noramally java:/DefaultDS datasource is bound to hypersonic in JBoss. so no need to deploy any file for that. But still you need to use a client login module to populate the user principal and credential to the JBoss. for more details on using DatabaseServerLoginModule

JBoss and JAAS

If you need more help, feel free to ask.
[ May 16, 2005: Message edited by: Sanju Thomas ]
 
Hey cool! They got a blimp! But I have a tiny ad:
Master Gardener Program
https://coderanch.com/t/771761/Master-Gardener-Program
reply
    Bookmark Topic Watch Topic
  • New Topic