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