|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.wsspi.security.token.TokenHolder
public class TokenHolder
This class is used to temporarily hold the raw byte[], token name and version that comes inbound from a protocol. The TokenHolder object is put into a Subject that gets passed into the LoginContext. The provider login modules will decide if the TokenHolder object belongs to them, and if so, will remove the TokenHolder object from the Subject and create a Token object instance from it and add that back to the Subject.
Constructor Summary | |
---|---|
TokenHolder(byte[] bytes,
java.lang.String name,
int version)
|
Method Summary | |
---|---|
byte[] |
getBytes()
Returns the byte[] of the token. |
java.lang.String |
getName()
Returns the name of the token. |
int |
getVersion()
Returns the version of the token. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TokenHolder(byte[] bytes, java.lang.String name, int version)
Method Detail |
---|
public byte[] getBytes()
public java.lang.String getName()
public int getVersion()
|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |