public class CredentialsInfo extends Object
Modifier and Type | Field and Description |
---|---|
static CredentialsInfo |
EMPTY
CredentialsInfo object which describes empty credentials.
|
static Field |
PASSWORD
A field describing the password HTTP parameter expected by Guacamole
during login, if passwords are being used.
|
static Field |
USERNAME
A field describing the username HTTP parameter expected by Guacamole
during login, if usernames are being used.
|
static CredentialsInfo |
USERNAME_PASSWORD
CredentialsInfo object which describes standard username/password
credentials.
|
Constructor and Description |
---|
CredentialsInfo(Collection<Field> fields)
Creates a new CredentialsInfo object which requires the given fields for
any conforming credentials.
|
Modifier and Type | Method and Description |
---|---|
Collection<Field> |
getFields()
Returns all fields required for valid credentials as described by this
object.
|
public static final CredentialsInfo EMPTY
public static final Field USERNAME
public static final Field PASSWORD
public static final CredentialsInfo USERNAME_PASSWORD
public CredentialsInfo(Collection<Field> fields)
fields
- The fields to require.public Collection<Field> getFields()
Copyright © 2016. All rights reserved.