  | Mailing List | | Home | | Forum Home | | JBoss - Java Application Server | | Tomcat - JSP/Servlet container | | Struts - A MVC web framework | | iText - An open source PDF Java Library | | JDOM - JDOM XML Parser | | J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition | | JSP - A mailing list about Java Server Pages specification and reference | | J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog | | Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology | |
Struts & Hibernate
|
|
|
  | | | - How to integrate NTLM authentication with JBoss po | - How to integrate NTLM authentication with JBoss po 2007-08-10 - By prassana
Back hi all,
I have a portal application where i want to use ntlm authentication to authenticate and later authorize the user based on roles defined in jbp_role _membership table. The user details are available in jbp_users table and roles are defined in jbp_roles table.
I am using jcifs-1 (See http://ifs-1.ora-code.com).2.6 .jar. and my web.xml is configured as
<filter-name>NTLM HTTP Authentication Filter</filter-name> <filter-class>jcifs.http.NtlmHttpFilter</filter-class> <init-param> <param-name>jcifs.http.domainController</param-name> <param-value>dchyd1.hyd.myorganisation.com</param-value> </init-param> <init-param> <param-name>jcifs.util.loglevel</param-name> <param-value>8</param-value> </init-param>
<filter-mapping> <filter-name>NTLM HTTP Authentication Filter</filter-name> <url-pattern>/*</url-pattern> </filter-mapping>
i have commented out form based authentication (inorder to skip JAAS authentication) also i have commented all security constraints. in web.xml
I have synchronized the jbp_users,jbp_role and jbp_role_membership table seperately.
The problem i have come across is that the user is able to login in automatically (without having to enter his login name and password) -i.e. remote user and principal is being set. but user role is not being read by the portal application.
Can any one tell me what might be the possible reason for this. what can be done so that the application can read the user role.
thanks
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic &p=4072821#4072821
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode =reply&p=4072821 __ ____ ____ ____ ____ ____ ____ ____ ____ ____ jboss-user mailing list jboss-user@(protected) https://lists.jboss.org/mailman/listinfo/jboss-user
|
|
 |