Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

4 watching

Forks

Latest commit

 

History

12 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

authn.delegating

Build Status

A pluggable ICAT authenticator that delegates trust rather than verifying credentials itself: a caller presents a username (and optional mechanism name) alongside a shared secret token, and if the token matches, authn.delegating simply vouches for that identity without checking a password. It's intended for a trusted intermediary - an SSO gateway, another already-authenticated service (SciGateway Auth) - to assert an identity to ICAT on a user's behalf.

It exposes the same REST contract as other authn.* plugins (POST /authenticate, GET /description), so it plugs into icat.server via authn.list / authn.<mnemonic>.url.

Configuration

Two properties, set via run.properties (see src/main/config/run.properties.example):

  • secretToken - the shared secret callers must present.
  • ip - space-separated allow-list of caller IPs/hostnames/CIDR ranges. Since possession of the shared secret is the only credential check performed, IP restriction is the second line of defense.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

4 watching

Forks

Releases

Packages

Used by

Contributors

Languages