java.lang.Object
com.sun.security.auth.NTNumericCredential
This class abstracts an NT security token
 and provides a mechanism to do same-process security impersonation.
- 
Constructor SummaryConstructorsConstructorDescriptionNTNumericCredential(long token) Create anNTNumericCredentialwith an integer value.
- 
Method SummaryModifier and TypeMethodDescriptionbooleanCompares the specified Object with thisNTNumericCredentialfor equality.longgetToken()Return an integer representation of thisNTNumericCredential.inthashCode()Return a hash code for thisNTNumericCredential.toString()Return a string representation of thisNTNumericCredential.
- 
Constructor Details- 
NTNumericCredentialpublic NTNumericCredential(long token) Create anNTNumericCredentialwith an integer value.- Parameters:
- token- the Windows NT security token for this user.
 
 
- 
- 
Method Details- 
getTokenpublic long getToken()Return an integer representation of thisNTNumericCredential.- Returns:
- an integer representation of this
          NTNumericCredential.
 
- 
toStringReturn a string representation of thisNTNumericCredential.
- 
equalsCompares the specified Object with thisNTNumericCredentialfor equality. Returns true if the given object is also aNTNumericCredentialand the two NTNumericCredentials represent the same NT security token.
- 
hashCodepublic int hashCode()Return a hash code for thisNTNumericCredential.
 
-