Registry / auth / hadoop-auth

hadoop-auth

JSON →
library3.5.0javamavenunverified

Java HTTP SPNEGO authentication library for securing Hadoop services and clients.

<dependency> <groupId>org.apache.hadoop</groupId> <artifactId>hadoop-auth</artifactId> <version>3.5.0</version> </dependency>
INSTALL
IMPORT
SIG · HADOOP-AUTH
H
hadoop-auth
authjavav3.5.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

AuthenticatedURL
org.apache.hadoop.security.authentication.client.AuthenticatedURL

Open an authenticated HTTP connection using SPNEGO.

import org.apache.hadoop.security.authentication.client.AuthenticatedURL; import java.net.URL; public class Main { public static void main(String[] args) throws Exception { AuthenticatedURL.Token token = new AuthenticatedURL.Token(); URL url = new URL("http://example.com"); AuthenticatedURL authUrl = new AuthenticatedURL(); authUrl.openConnection(url, token); System.out.println("Authenticated connection established"); } }
Debug
Known issues
gotchaRequires Kerberos configuration; missing krb5.conf can cause authentication failures.
fix
Ensure proper Kerberos setup (e.g., java.security.krb5.conf system property).
affects: >=3.0.0
Upgrade
Version history
3.5.0latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
18 hits · last 30 days
node
16
Amazon
1
Resources
hadoop-auth — mvn dependency:get hadoop-auth · libregistry