|
AXL Software® | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
ObjectTextInputCallback
RADIUSTextInputCallback
Class to retrieve information. Text input is requested when an Access-Challenge packet containing a Reply-Message attribute is present. The prompt is set to the Reply-Message text.
There are two ways to return the retrieved text.
It may be incorporated into the AttributeList and return using
setRequestAttributes().
If the text is returned using setText()
the attribute type the text response and the decision to encode it must be set using
setAttributeType().
Access to data handling methods in this class may only be performed when
isReady() returns true.
This is a handler class.
| Constructor Summary | |
RADIUSTextInputCallback(String prompt)
|
|
RADIUSTextInputCallback(String prompt,
String defaultText)
|
|
| Method Summary | |
boolean |
isReady()
Determine if the values in the callback class are ready to be accessed or modified. |
void |
setAttributeType(int attributeType,
boolean pwdEncode)
Set the attribute type that should hold the text. |
void |
setReady(boolean setting)
Set the ready indicator. |
| Methods inherited from class TextInputCallback |
getDefaultText, getPrompt, getText, setText |
| Methods inherited from class Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public RADIUSTextInputCallback(String prompt)
public RADIUSTextInputCallback(String prompt,
String defaultText)
| Method Detail |
public void setAttributeType(int attributeType,
boolean pwdEncode)
attributeType - The type of attribute the text should be place in.pwdEncode - True if the attribute is to be encoded using the RADIUS authenticator
and shared secret (standard password encoding). Otherwise the text is sent in plain text.public boolean isReady()
isReady in interface RADIUSCallbackpublic void setReady(boolean setting)
setReady in interface RADIUSCallbacksetting - Set to true if the data is readable or writable, false otherwise.
|
AXL Software® | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||