Package | Description |
---|---|
org.apache.guacamole.form |
Provides classes which describe the contents and semantics of forms which
may be presented to the user.
|
org.apache.guacamole.net.auth.credentials |
Modifier and Type | Class and Description |
---|---|
class |
BooleanField
Represents a field with strictly one possible value.
|
class |
DateField
Represents a date field.
|
class |
EmailField
Represents a text field which may contain an email address.
|
class |
EnumField
Represents an arbitrary field with a finite, enumerated set of possible
values.
|
class |
MultilineField
Represents a field which can contain multiple lines of text.
|
class |
NumericField
Represents a field which may contain only integer values.
|
class |
PasswordField
Represents a field which contains sensitive text information related to
authenticating a user.
|
class |
TextField
Represents a basic text field.
|
class |
TimeField
Represents a time field.
|
class |
TimeZoneField
Represents a time zone field.
|
class |
UsernameField
Represents a text field which will contain the uniquely-identifying name of
a user.
|
Modifier and Type | Method and Description |
---|---|
Collection<Field> |
Form.getFields()
Returns a mutable collection of the fields associated with this form.
|
Modifier and Type | Method and Description |
---|---|
void |
Form.setFields(Collection<Field> fields)
Sets the collection of fields associated with this form.
|
Constructor and Description |
---|
Form(String name,
Collection<Field> fields)
Creates a new Form object having the given name and containing the given
fields.
|
Modifier and Type | Field and Description |
---|---|
static Field |
CredentialsInfo.PASSWORD
A field describing the password HTTP parameter expected by Guacamole
during login, if passwords are being used.
|
static Field |
CredentialsInfo.USERNAME
A field describing the username HTTP parameter expected by Guacamole
during login, if usernames are being used.
|
Modifier and Type | Method and Description |
---|---|
Collection<Field> |
CredentialsInfo.getFields()
Returns all fields required for valid credentials as described by this
object.
|
Modifier and Type | Method and Description |
---|---|
String |
UserCredentials.getValue(Field field)
Returns the value defined by this UserCrendentials object for the given
field.
|
String |
UserCredentials.removeValue(Field field)
Removes (undefines) the value of the given field returning its previous
value.
|
String |
UserCredentials.setValue(Field field,
String value)
Sets the value of the given field.
|
Constructor and Description |
---|
CredentialsInfo(Collection<Field> fields)
Creates a new CredentialsInfo object which requires the given fields for
any conforming credentials.
|
UserCredentials(Collection<Field> fields)
Creates a new UserCredentials object which requires the given fields but
does not yet have any defined values.
|
UserCredentials(Collection<Field> fields,
Map<String,String> values)
Creates a new UserCredentials object which requires the given fields and
values.
|
Copyright © 2018. All rights reserved.