Class CredentialsInfo
java.lang.Object
org.apache.guacamole.net.auth.credentials.CredentialsInfo
- Direct Known Subclasses:
UserCredentials
Information which describes a set of valid credentials.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final CredentialsInfoCredentialsInfo object which describes empty credentials.static final FieldA field describing the password HTTP parameter expected by Guacamole during login, if passwords are being used.static final FieldA field describing the username HTTP parameter expected by Guacamole during login, if usernames are being used.static final CredentialsInfoCredentialsInfo object which describes standard username/password credentials. -
Constructor Summary
ConstructorsConstructorDescriptionCredentialsInfo(Collection<Field> fields) Creates a new CredentialsInfo object which requires the given fields for any conforming credentials. -
Method Summary
Modifier and TypeMethodDescriptionReturns all fields required for valid credentials as described by this object.
-
Field Details
-
EMPTY
CredentialsInfo object which describes empty credentials. No fields are required. -
USERNAME
A field describing the username HTTP parameter expected by Guacamole during login, if usernames are being used. -
PASSWORD
A field describing the password HTTP parameter expected by Guacamole during login, if passwords are being used. -
USERNAME_PASSWORD
CredentialsInfo object which describes standard username/password credentials.
-
-
Constructor Details
-
CredentialsInfo
Creates a new CredentialsInfo object which requires the given fields for any conforming credentials.- Parameters:
fields- The fields to require.
-
-
Method Details
-
getFields
Returns all fields required for valid credentials as described by this object.- Returns:
- All fields required for valid credentials.
-