Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Elliott Jones   on Mar 02 In Java Category.

  
Question Answered By: Brendan Smith   on Mar 02

com.tagish.auth.win32.NTSystemLogin
This module which is only available on windows  NT and 2000 allows
users to be authenticated against an NT domain. The module will
request a username, password  and optionally domain (the domain to use
may be named in the config file) and attempt to retrieve the user's
credentials using them. Depending on settings in the config file the
returned Principals may have human readable names
(eg "administrator"), NT SID format names (eg "S-1-5-32-544") or
both. Note that if the system on which authentication  is performed is
temporarily out of contact with its PDC it will not necessarily be
able to return human readable names, but it will be able to return
SID format names.
The NTSystemLogin module is configured with an entry in the config
file like this

NTLogin
{
com.tagish.auth.win32.NTSystemLogin required returnNames=true
returnSIDs=false defaultDomain="domain";
};
The following parameters may be specified:
returnNames Principals with human readable names will be created
optional
returnSIDs Principals with names in NT SID format will be created
optional
defaultDomain Domain to authenticate against. If this is ommitted the
module will raise a TextInputCallback to request the Domain if it is
not supplied here. optional

user  logged on using this module will have a number of Principals
(actually com.tagish.auth.win32.NTPrincipal) associated with them.
There will be a USER Principal representing the user's name, a GROUP
principal for each NT group the user is a member of and a DOMAIN
Principal representing the NT Domain that authenticated the user..


Ref:- http://free.tagish.net/jaas/
http://free.tagish.net/jaas/doc.html

Share: 

 

This Question has 1 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on NT authentication problem Or get search suggestion and latest updates.


Tagged: