AuthenticationComponentImpl and MD4

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2006 07:09 AM
I've implemented my own AuthenticationComponentImpl to manage the authentication as described in wiki. Works fine since I use web access.
During application start I got an error regarding CIFS server authentication setup.
Looking in the code I've seen that I need a NTLM support for the password.
So, I've implemented the method getNTLMMode() in this manner
Now, I don't have any error at the start up. I thought that this implementation let me login to CIFS server with any user always with the same password ("admin"). But doesn't work.
Could you explain me if I miss something?
Andrea
During application start I got an error regarding CIFS server authentication setup.
Looking in the code I've seen that I need a NTLM support for the password.
So, I've implemented the method getNTLMMode() in this manner
public NTLMMode getNTLMMode() { return NTLMMode.MD4_PROVIDER;}
And the method getMD4HashedPassword() to return always the same password (just for test). This is the implememtationPasswordEncoder passwordEncoder = new MD4PasswordEncoderImpl();String pwd = passwordEncoder.encodePassword(new String("admin"), null);return pwd;
Now, I don't have any error at the start up. I thought that this implementation let me login to CIFS server with any user always with the same password ("admin"). But doesn't work.
Could you explain me if I miss something?
Andrea
Labels:
- Labels:
-
Archive
1 REPLY 1

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2006 06:24 PM
After other test i've seen that the implememation described works. I need it because i'm connecting to a database user store.
