[jcifs] jCIFS JAAS Authentication Module
eglass1 at attbi.com
eglass1 at attbi.com
Fri Apr 4 07:56:06 EST 2003
Attached is an implementation of a JAAS-compatible pluggable authentication
module (jcifs.smb.jaas.SmbLoginModule). This uses jCIFS to authenticate an
application user against the domain. This is similar to Sun's NTLoginModule
provided with the JAAS, but allows for authentication of arbitrary users (i.e.,
not just the person logged in). It will also work on non-Windows platforms.
This requires JAAS (Java Authentication and Authorization Services), which
comes with JDK 1.4 and is an optional component for JDK 1.3. Also attached is
a sample application and JAAS login configuration file; you would run this like:
java -Djava.security.auth.login.config=jcifs_jaas.config SmbLoginTest
and just login like:
Username: DOMAIN\user
Password: <password>
Eric
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/octet-stream
Size: 7701 bytes
Desc: not available
Url : http://lists.samba.org/archive/jcifs/attachments/20030403/e6e2e761/attachment.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/octet-stream
Size: 1228 bytes
Desc: not available
Url : http://lists.samba.org/archive/jcifs/attachments/20030403/e6e2e761/attachment-0001.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/octet-stream
Size: 127 bytes
Desc: not available
Url : http://lists.samba.org/archive/jcifs/attachments/20030403/e6e2e761/attachment-0002.obj
More information about the jcifs
mailing list