在jsp身份验证中使用unix登录

时间:2012-06-22 15:33:12

标签: jsp authentication unix

我正在使用安装了apache-tomcat的unix(AIX)。在其中,我使用JSP部署了一个应用程序。 现在进行身份验证,我不想使用传统的基于数据库的身份验证,而是希望使用用于登录该unix框的相同身份验证。

例如:

A user logins a unix server using credentials : user1/password1
I wanted to use the same combination for my JSP login to access the app.

我想知道是否有办法做到这一点。

1 个答案:

答案 0 :(得分:0)

是。 JAASrealm可以实现。我有一本书的例子叫做:“Tomcat:The Definitive Guide”。由O`reilly。

此致

相关问题