Skip to content

noahhhx/jauth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JAuth

Inspired by openconnect-saml, but simplified for my need and written in Java.

Requirements

  • JDK 17+ (only needed to build, or to run the JAR; the GraalVM native build produces a single static binary with no JDK dependency)
  • openconnect on PATH
  • sudo
  • A browser

Easy Install

One line command to download and install

curl -fsSL https://raw.githubusercontent.com/noahhhx/jauth/main/install.sh | bash

it should then be executable via

jauth help

Manual

Build

mvn package

Outputs:

  • target/jauth-0.0.1.jar

GraalVM native-image:

mvn -Pnative -DskipTests package

Outputs target/vpnauth — single executable, no JVM needed.

Usage

Java:

java -jar target/jauth.jar connect --host="vpnhost"

Binary:

./target/jauth connect --host="vpnhost"

About

CLI tool to perform Cisco AnyConnnect SAML handshake and launch openconnect

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors