Hi,

I am new to JBoss and JAAS authentication.  If someone can help me in the 
following it will be of great help.

I want to validate my username and password from the database table and these 
values are captured via Java Swing standalone client.  I dont have a concept of 
Role, I just want to validate the usename and password. 

I have created my Loginmodule which implements 
javax.security.auth.spi.LoginModule and its login method will call my DAO class 
and will do the validation of the username  and password. And in the java swing 
client, I will get the username and password from the user.  and will create 
the LoginContext and will call the login method.  
In the client side jaas configuration file I configured my login module and in 
the server login-context.xml, I declared my security domain.

But how to link the sever side and client side? 
Where do I have to keep the LoginModule files in the client or server?  
What are all the configurations required in the client side?
What are all the configurations required in the server side?
Without the concept of Roles can we do the authentication using JAAS, if yes 
how?

There are somany examples/articles on declarative authetication, Is there any 
article or example available for complete programatic authetication  From a 
STAND ALONE client?

where should I start?  I am using JBOSS jboss-4.2.2.GA and cleint side java 
Swing

If someone can direct me to the right direction, it will be of great help...

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171768#4171768

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171768
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to