JCIFS and jWebUnit
On my current project, we're using JCIFS to integrate our application authentication process with NT Domain logins. While I found it quite easy to integrate, the one issue I found is I couldn't replicate the login process in a jWebUnit test. I tried setting the WWW-Authentication header to NTLM, but couldn't get it to work. The solution I ended up using is to subclass the NtlmHttpFilter and disable authentication when the User-Agent is "httpunit".
Hopefully this is useful for others. If you've managed to get regular jWebUnit authentication working with NTLM, I'm all ears.
Posted by 22.214.171.124 on January 20, 2005 at 11:13 AM MST #
Posted by Matt Raible on January 20, 2005 at 11:22 AM MST #
Posted by Ben C on January 21, 2005 at 09:08 AM MST #
Posted by Todd Huss on January 21, 2005 at 12:07 PM MST #
Posted by Ahmed Mohombe on January 25, 2005 at 03:47 AM MST #
Posted by Mike on January 28, 2005 at 03:16 AM MST #
Posted by Jonathan Dubois on March 07, 2005 at 11:45 AM MST #
I don't think this is possible with JCIFS. It might be possible with Acegi Security. You can chain authentication providers, and you could have a JAAS one that talks to NT and then another one that talks to a database.
Posted by Matt Raible on March 07, 2005 at 12:17 PM MST #
Posted by Jonathan Dubois on March 07, 2005 at 12:28 PM MST #
Posted by Vicky on March 31, 2005 at 01:35 AM MST #
Posted by Matt Raible on April 03, 2005 at 02:56 PM MDT #
Posted by Rene Guenther on August 08, 2005 at 06:00 AM MDT #
Posted by Rene Guenther on August 08, 2005 at 06:13 AM MDT #
Posted by Matt Raible on August 08, 2005 at 09:50 AM MDT #
Posted by Rene Guenther on August 09, 2005 at 11:19 AM MDT #
I am having problem setting up the session replication for JCIFS on JBoss Clustering.
Here is my environment:
Web Server: 1 X Apache 2.2.8 (mod_jk 1.2.26 for load balancing) on SUN Sparc T2000 Solaris 10 Application Server: 2 X JBoss 4.2.2 GA (Clustering) on SUN Sparc T2000 Solaris 10 JCIFS: 1.2.18
The error I have is that JCIFS.UniAddress is not Serializable and not able to replicate the session for it.
I have read some of articles on-line and it all mentioned about not able to get the load-balance/clustering to work properly on JCIFS.
Is there any way to make it work?
Posted by Eric on March 25, 2008 at 08:58 AM MDT #