This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
The moose likes Other Java Products and Servers and the fly likes Problem with JPam Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Products » Other Java Products and Servers
Bookmark "Problem with JPam" Watch "Problem with JPam" New topic
Author

Problem with JPam

aniruddha gaikwad
Greenhorn

Joined: Nov 01, 2007
Posts: 19
Hi,

My requirement is to authenticate user with os means user will provide username, password. I need to check whether this username/password combination is correct & also the user belong to particular group. I dont want to authenticate against active directory just linux os.

I google it & found JPam. But the problem is 1) its not active 2) no way to determine user belong to particular group or not.
If anyone know how to check for group using jpam or suggest some other library, it will be useful.

Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10733
    
    9

This might help http://www.javaranch.com/journal/2008/04/Journal200804.jsp#a6


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
aniruddha gaikwad
Greenhorn

Joined: Nov 01, 2007
Posts: 19
I am not expert on jaas but what I searched, I required to attach login module. In login module I defined how I am going to authenticate. JAAS itself doesn't provide any way to authenticate with os. I want any library just to authenticate & tell me user is in partucular group or not.

correct me if I am wrong.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Problem with JPam
 
jQuery in Action, 3rd edition