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 REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Products » Other Java Products and Servers
Bookmark "Problem with JPam" Watch "Problem with JPam" New topic

Problem with JPam

aniruddha gaikwad

Joined: Nov 01, 2007
Posts: 19

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: 10768

This might help

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

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.
Consider Paul's rocket mass heater.
subject: Problem with JPam
It's not a secret anymore!