Skip to content
프로젝트

소개

Security library for JAX-RS, Jersey and RESTEasy

보안 및 개인정보 보호

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

Maven Central Build status Java 17+ Jakarta REST 3.x | 4.x Apache 2 license

jax-rs-pac4j is the JAX-RS (Jersey and RESTEasy) implementation of pac4j, the security engine for Java. If it is useful to you, please ⭐ star pac4j on GitHub: it helps other developers discover it!

jax-rs-pac4j secures Jakarta REST applications with authentication, authorization, login callbacks and logout. It uses the pac4j security engine and supports OpenID Connect, SAML, CAS, OAuth, JWT and other authentication mechanisms.

Version 8.1.0 supports Jersey 3 and 4 and RESTEasy 6 and 7, with Java 17 and compatibility across the pac4j 6.x series. The project is available under the Apache 2 license.

jax-rs-pac4j JDK pac4j JAX-RS Servlet
version >= 8 17 v6 v3 / v4 v5 / v6 / v6.1 (depending on the module)
version >= 7 17 v6 v3 / v4 v5
version >= 6 11 v5 v3 v5
version >= 5 11 v5 v2 v4
version >= 4 8 v4 v2 v4

Get started

Choose the module matching your runtime:

Runtime Maven artifact (org.pac4j)
Jersey 3.1 jersey3-pac4j
Jersey 4.0 jersey4-pac4j
RESTEasy 6.2 resteasy6-pac4j
RESTEasy 7.0 resteasy7-pac4j

Add the pac4j modules for your authentication mechanisms and supply the matching Jersey or RESTEasy runtime. The dependency guide explains the supported combinations.

Documentation

  1. Configure authentication and register the integration, including Servlet, Grizzly, CDI and sessionless setups.
  2. Protect resources with @Pac4JSecurity.
  3. Access the authenticated user profile.
  4. For browser login, configure the callback and logout endpoints.

See components and features for the integration architecture, and the migration guide when upgrading an existing application.

Versions

Read the release notes or see development builds.

Maven Central

Demo

The jax-rs-pac4j demo illustrates authentication with HTTP Basic, forms and CAS.

Need help?

Use the mailing lists or commercial support.

관련 프로젝트 살펴보기

불러오는 중…