Class CredentialsInfo

  • Direct Known Subclasses:
    UserCredentials

    public class CredentialsInfo
    extends Object
    Information which describes a set of valid credentials.
    • Field Detail

      • EMPTY

        public static final CredentialsInfo EMPTY
        CredentialsInfo object which describes empty credentials. No fields are required.
      • USERNAME

        public static final Field USERNAME
        A field describing the username HTTP parameter expected by Guacamole during login, if usernames are being used.
      • PASSWORD

        public static final Field PASSWORD
        A field describing the password HTTP parameter expected by Guacamole during login, if passwords are being used.
      • USERNAME_PASSWORD

        public static final CredentialsInfo USERNAME_PASSWORD
        CredentialsInfo object which describes standard username/password credentials.
    • Constructor Detail

      • CredentialsInfo

        public CredentialsInfo​(Collection<Field> fields)
        Creates a new CredentialsInfo object which requires the given fields for any conforming credentials.
        Parameters:
        fields - The fields to require.
    • Method Detail

      • getFields

        public Collection<Field> getFields()
        Returns all fields required for valid credentials as described by this object.
        Returns:
        All fields required for valid credentials.