Class GuacamoleCredentialsException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.guacamole.GuacamoleException
org.apache.guacamole.GuacamoleClientException
org.apache.guacamole.GuacamoleSecurityException
org.apache.guacamole.GuacamoleUnauthorizedException
org.apache.guacamole.net.auth.credentials.GuacamoleCredentialsException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
GuacamoleInsufficientCredentialsException, GuacamoleInvalidCredentialsException, TranslatableGuacamoleCredentialsException

public class GuacamoleCredentialsException extends org.apache.guacamole.GuacamoleUnauthorizedException
A security-related exception thrown when access is denied to a user because of a problem related to the provided credentials. Additional information describing the form of valid credentials is provided.
See Also:
  • Constructor Details

    • GuacamoleCredentialsException

      public GuacamoleCredentialsException(String message, Throwable cause, CredentialsInfo credentialsInfo)
      Creates a new GuacamoleInvalidCredentialsException with the given message, cause, and associated credential information.
      Parameters:
      message - A human readable description of the exception that occurred.
      cause - The cause of this exception.
      credentialsInfo - Information describing the form of valid credentials.
    • GuacamoleCredentialsException

      public GuacamoleCredentialsException(String message, CredentialsInfo credentialsInfo)
      Creates a new GuacamoleInvalidCredentialsException with the given message and associated credential information.
      Parameters:
      message - A human readable description of the exception that occurred.
      credentialsInfo - Information describing the form of valid credentials.
    • GuacamoleCredentialsException

      public GuacamoleCredentialsException(Throwable cause, CredentialsInfo credentialsInfo)
      Creates a new GuacamoleInvalidCredentialsException with the given cause and associated credential information.
      Parameters:
      cause - The cause of this exception.
      credentialsInfo - Information describing the form of valid credentials.
  • Method Details

    • getCredentialsInfo

      public CredentialsInfo getCredentialsInfo()
      Returns information describing the form of valid credentials.
      Returns:
      Information describing the form of valid credentials.