my dog learned polymorphism*
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 Murach's Java Servlets and JSP this week in the Servlets 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: 10167
    
    8

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem with JPam
 
Similar Threads
Single sign using windows credentials
Weblogic, active directory and smart card authentication
Username and password
windows active directory authentication
Validate is username exists in Active Directory