|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.tagish.auth.win32.NTSystem
Proxy class that wraps up the native win32 functionality
Constructor Summary | |
NTSystem()
|
Method Summary | |
void |
checkVersion()
|
protected void |
finalize()
Clean up NT resources during garbage collection, in case LoginContext.logout() was not called. |
String |
getDomain()
Get the domain for the current NT user. |
String |
getDomainSID()
Get a printable SID for the current NT user's domain. |
String[] |
getGroupIDs()
Get the printable group SIDs for the current NT user. |
String[] |
getGroupNames(boolean bSidIfUnavailable)
Get the printable group names for the current NT user. |
int |
getImpersonationToken()
Get an impersonation token for the current NT user. |
String |
getName()
Get the username for the current NT user. |
String |
getPrimaryGroupID()
Get a printable primary group SID for the current NT user. |
String |
getPrimaryGroupName()
Get a printable primary group name for the current NT user. |
String |
getUserSID()
Get a printable SID for the current NT user. |
int |
getVersion()
Return the DLL version |
void |
logoff()
Log the user off. |
void |
logon(String username,
char[] password,
String domain)
Attempt to log a user on. |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public NTSystem()
Method Detail |
public void checkVersion()
public int getVersion()
protected void finalize()
finalize
in class Object
public String getDomain()
public String getDomainSID()
public String[] getGroupIDs()
public String[] getGroupNames(boolean bSidIfUnavailable)
public int getImpersonationToken()
public String getName()
public String getPrimaryGroupID()
public String getPrimaryGroupName()
public String getUserSID()
public void logon(String username, char[] password, String domain) throws javax.security.auth.login.LoginException
public void logoff()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |