This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma 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

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

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.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: Problem with JPam
It's not a secret anymore!