|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.tarantella.tta.webservices.client.views.DataRequest
public class DataRequest
The class manages requests for additional authentication data from the
Secure Global Desktop (SGD) server.
It is a support class that works with SessionBean.authenticateExt(String, String, String, String, Item[], Item[])
and SessionBean.authenticateMoreInfoPrompts().
Each instance handles a single piece of additional data needed for authentication to succeed. The features on the attribute are meta-data and indicate properties that can be useful in constructing a GUI to acquire the value. For example, the features may suggest a prompt, whether the data is sensitive and should not be displayed, what size of value is expected.
See also IConstantsGUI.
| Constructor Summary | |
|---|---|
DataRequest(DataRequest source)
Constructor. |
|
DataRequest(java.lang.String attributeName)
Constructor. |
|
| Method Summary | |
|---|---|
java.lang.String |
getAttributeName()
Gets the name of the attribute. |
boolean |
getFeature(java.lang.String name,
boolean defaultValue)
Gets a boolean feature. |
int |
getFeature(java.lang.String name,
int defaultValue)
Gets an integer feature. |
java.lang.String |
getFeature(java.lang.String name,
java.lang.String defaultValue)
Gets a string feature. |
void |
setFeature(java.lang.String name,
boolean value)
Sets a boolean feature. |
void |
setFeature(java.lang.String name,
int value)
Sets an integer feature. |
void |
setFeature(java.lang.String name,
java.lang.String value)
Sets a string feature. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DataRequest(java.lang.String attributeName)
attributeName - Name of the attribute handled by this object.public DataRequest(DataRequest source)
source - Object to copy.| Method Detail |
|---|
public java.lang.String getAttributeName()
public void setFeature(java.lang.String name,
int value)
name - The name of the feature.value - The value.
public void setFeature(java.lang.String name,
boolean value)
name - The name of the feature.value - The value.
public void setFeature(java.lang.String name,
java.lang.String value)
name - The name of the feature.value - The value.
public int getFeature(java.lang.String name,
int defaultValue)
name - The name of the feature.defaultValue - The value to return if the feature is missing.
public boolean getFeature(java.lang.String name,
boolean defaultValue)
name - The name of the feature.defaultValue - The value to return if the feature is missing.
public java.lang.String getFeature(java.lang.String name,
java.lang.String defaultValue)
name - The name of the feature.defaultValue - The value to return if the feature is missing.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||