JAAS ThreadLocal Filter

A Java servlet filter that grabs the JAAS principal off of the incoming request and adds it to a ThreadLocal variable so you can grab it whenever you want.

License

License

Categories

Categories

JAAS: Jakarta Authentication & Jakarta Authorization Jakarta EE Jakarta Security
GroupId

GroupId

com.github.sagerman4
ArtifactId

ArtifactId

jaas-threadlocal-filter
Last Version

Last Version

1.0
Release Date

Release Date

Type

Type

jar
Description

Description

JAAS ThreadLocal Filter
A Java servlet filter that grabs the JAAS principal off of the incoming request and adds it to a ThreadLocal variable so you can grab it whenever you want.
Project URL

Project URL

https://github.com/sagerman4/jaas-threadlocal-filter

Download jaas-threadlocal-filter

How to add to project

<!-- https://jarcasting.com/artifacts/com.github.sagerman4/jaas-threadlocal-filter/ -->
<dependency>
    <groupId>com.github.sagerman4</groupId>
    <artifactId>jaas-threadlocal-filter</artifactId>
    <version>1.0</version>
</dependency>
// https://jarcasting.com/artifacts/com.github.sagerman4/jaas-threadlocal-filter/
implementation 'com.github.sagerman4:jaas-threadlocal-filter:1.0'
// https://jarcasting.com/artifacts/com.github.sagerman4/jaas-threadlocal-filter/
implementation ("com.github.sagerman4:jaas-threadlocal-filter:1.0")
'com.github.sagerman4:jaas-threadlocal-filter:jar:1.0'
<dependency org="com.github.sagerman4" name="jaas-threadlocal-filter" rev="1.0">
  <artifact name="jaas-threadlocal-filter" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.github.sagerman4', module='jaas-threadlocal-filter', version='1.0')
)
libraryDependencies += "com.github.sagerman4" % "jaas-threadlocal-filter" % "1.0"
[com.github.sagerman4/jaas-threadlocal-filter "1.0"]

Dependencies

compile (2)

Group / Artifact Type Version
javax.servlet : javax.servlet-api jar 3.1.0
org.slf4j : slf4j-api jar 1.7.10

Project Modules

There are no modules declared in this project.

Versions

Version
1.0