| |
|
| java.lang.Object org.apache.harmony.auth.module.NTSystem
NTSystem | final public class NTSystem (Code) | | A helper class which queries information about the current NT user.
|
Constructor Summary | |
public | NTSystem() The default constructor. | public | NTSystem(Map<String, ?> options) Constructs an instance with options. |
NTSystem | public NTSystem()(Code) | | The default constructor. Loads hyauth library if necessary.
throws: UnsatisfiedLinkError - if library hyauth not found |
NTSystem | public NTSystem(Map<String, ?> options)(Code) | | Constructs an instance with options.
Parameters: options - |
free | native public void free()(Code) | | Frees internal data stored during login().
|
getDomain | public String getDomain()(Code) | | Returns name of user's domain
|
getDomainSID | public String getDomainSID()(Code) | | Returns String representation of SID of user's domain
|
getGroupIDs | public String[] getGroupIDs()(Code) | | Returns array of SIDs of groups the user belongs to
|
getImpersonationToken | public long getImpersonationToken()(Code) | | Returns implementation token
|
getPrimaryGroupID | public String getPrimaryGroupID()(Code) | | Returns a SID of user's main group
|
getUserSID | public String getUserSID()(Code) | | Returns user's SID
|
load | native public void load()(Code) | | Load the security information about user.
|
toString | public String toString()(Code) | | Returns a String representation of this object.
|
|
|
|