Class UnsupportedCredentialsException

  • All Implemented Interfaces:
    Serializable

    public class UnsupportedCredentialsException
    extends AuthenticationException
    A dedicated exception thrown when extracted credentials can not be matched with any authentication provider. This can usually happen when configuration is somewhat wrong. In order to make debugging easier a separate exception is created.
    Author:
    Ɓukasz Dywicki - Initial contribution
    See Also:
    Serialized Form
    • Constructor Detail

      • UnsupportedCredentialsException

        public UnsupportedCredentialsException​(String message)
        Creates a new exception instance.
        Parameters:
        message - exception message
      • UnsupportedCredentialsException

        public UnsupportedCredentialsException​(Throwable cause)
        Creates a new exception instance.
        Parameters:
        cause - exception cause
      • UnsupportedCredentialsException

        public UnsupportedCredentialsException​(String message,
                                               Throwable cause)
        Creates a new exception instance.
        Parameters:
        message - exception message
        cause - exception cause