|
jboss-sasl 1.0.0.Beta1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.sasl.callback.TokenCallback
public final class TokenCallback
A callback for a binary token.
| Constructor Summary | |
|---|---|
TokenCallback(String prompt,
int length)
Construct a new instance. |
|
| Method Summary | |
|---|---|
String |
getPrompt()
Get the prompt. |
byte[] |
getToken()
Get the token. |
int |
getTokenLength()
Get the expected token length. |
void |
setToken(byte[] token)
Set the token. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TokenCallback(String prompt,
int length)
prompt - the promptlength - the expected length of the token, in bytes| Method Detail |
|---|
public String getPrompt()
public int getTokenLength()
public byte[] getToken()
public void setToken(byte[] token)
token - the token
|
jboss-sasl 1.0.0.Beta1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||