|
JAAS | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.security.auth.NTNumericCredential
public class NTNumericCredential
This class abstracts an NT security token and provides a mechanism to do same-process security impersonation.
Constructor Summary | |
---|---|
NTNumericCredential(long token)
Create an NTNumericCredential with an integer value. |
Method Summary | |
---|---|
boolean |
equals(Object o)
Compares the specified Object with this NTNumericCredential
for equality. |
long |
getToken()
Return an integer representation of this NTNumericCredential . |
int |
hashCode()
Return a hash code for this NTNumericCredential . |
String |
toString()
Return a string representation of this NTNumericCredential . |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public NTNumericCredential(long token)
NTNumericCredential
with an integer value.
token
- the Windows NT security token for this user. Method Detail |
---|
public long getToken()
NTNumericCredential
.
NTNumericCredential
.public String toString()
NTNumericCredential
.
toString
in class Object
NTNumericCredential
.public boolean equals(Object o)
NTNumericCredential
for equality. Returns true if the given object is also a
NTNumericCredential
and the two NTNumericCredentials
represent the same NT security token.
equals
in class Object
o
- Object to be compared for equality with this
NTNumericCredential
.
NTNumericCredential
.public int hashCode()
NTNumericCredential
.
hashCode
in class Object
NTNumericCredential
.
|
JAAS | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |