All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.datahub.authentication.AuthenticationException Maven / Gradle / Ivy

Go to download

DataHub Auth API for developers to write custom Authentication & Authorization plugins for DataHub

There is a newer version: 0.14.1-12rc1
Show newest version
package com.datahub.authentication;

import com.datahub.plugins.auth.authentication.Authenticator;

/**
 * An {@link Exception} thrown when an {@link Authenticator} is unable to be resolved an instance of
 * {@link Authentication} for the current request.
 */
public class AuthenticationException extends Exception {

  public AuthenticationException(final String message) {
    this(message, null);
  }

  public AuthenticationException(final String message, final Throwable cause) {
    super(String.format("Failed to authenticate inbound request: %s", message), cause);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy