[JBoss Seam] - How to integrate NTLM authentication with JBoss portal
by prassana
hi all,
I have a portal application where i want to use ntlm authentication to authenticate and later authorise 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.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 (i.r. i am not using JAAS)
also i have commented all security constraints. in web.xml
the problem i have come across is that the user is able to login in but his role is not being read by the portal application
can any tell me what might be the possible reason for this. what cab be done so that the application can read the user rols and provide tham the expected features.
thanks
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4072630#4072630
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4072630
18Â years, 10Â months
[JBoss Seam] - Re: Seam and (or vs) Tapestry 5
by michael.yuanï¼ jboss.com
Reflection by itself should not introduce a big performance hit. As Norman said, Seam uses much more reflection than JSF. Yet, in our tests, adding Seam only decrease performance by 5% to 10%.
The big performance problem in JSF is the need to serialize objects. You can reduce that by using server side state saving but than you need more server memory and reduce clustering performance. However, as Norman said, we do not see "performance" as a big issue for JSF at all. It performs "good enough" for the vast majority of web applications.
Having said that, I'd love to see Seam integrated with other web frameworks because not everyone is sold on JSF. But given the resources we have, this type of integration will probably need to come from the community ...
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4072627#4072627
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4072627
18Â years, 10Â months