dumbtv
dumbtv가 ADB로 Fire TV에서 광고·추적·업데이트 알림을 제거, 루트·앱 변경 없이, 무료 오픈소스
pac4j로 Java 애플리케이션에 OpenID Connect·SAML·CAS·OAuth·JWT 기반 인증·인가를 제공합니다
Secure Java applications with pac4j: authentication and authorization with OpenID Connect, SAML, CAS, OAuth and JWT across Spring Boot and other frameworks.
보안Java · ShellGitHub @pac4j온라인운영자 미확인
써 보셨어요? 한 번만 눌러 주세요. 로그인은 필요 없어요.
아직 감지된 업데이트가 없습니다. GitHub 릴리스가 나오면 여기에 보입니다.
개인 계정의 공개 저장소 소유자는 GitHub로 로그인해 운영자를 확인하고 소개를 직접 관리할 수 있습니다. 관리자 승인은 필요하지 않습니다.
로그인한 뒤 확인 파일을 만들어 이 저장소의 기본 브랜치에 30분 안에 커밋해 주세요. 다른 브랜치나 포크의 파일은 인정하지 않습니다. 파일을 올린 뒤 아래에서 확인하면 관리자 승인 없이 관리할 수 있습니다. 자격을 유지하려면 파일을 남겨 두세요.
로그인이 필요하면 로그인 화면으로 이동합니다. 로그인 후 이곳으로 돌아와 원하는 확인 버튼을 다시 눌러 주세요.
프로젝트 폴더에서 /nomorevibe verify를 실행하면 소유권을 확인하고 소개를 직접 관리할 수 있습니다.
1분 만에 확인하기Security engine for Java (authentication, authorization, multi frameworks): OpenID Connect, SAML2, CAS, OAuth, LDAP, JWT...
저장소 README에서 가져옴
README 전체를 불러오는 중입니다.
README 전문 보기 ↗Add the Spring MVC integration and the OpenID Connect module:
<dependency>
<groupId>org.pac4j</groupId>
<artifactId>spring-webmvc-pac4j</artifactId>
<version>8.0.3</version>
</dependency>
<dependency>
<groupId>org.pac4j</groupId>
<artifactId>pac4j-oidc</artifactId>
<version>6.5.9</version>
</dependency>
Then define your identity provider and the URLs to protect:
@Configuration
public class SecurityConfig extends Pac4jSecurityConfig {
@Bean
public Config config() {
final var oidc = new OidcConfiguration()
.setDiscoveryURI("https://www.casserverpac4j.dev/oidc/.well-known/openid-configuration")
.setClientId("myclient")
.setSecret("mysecret")
.setAllowUnsignedIdTokens(true); // only for this demo server
return new Config("http://localhost:8080/callback", new OidcClient(oidc));
}
@Override
public void addInterceptors(final InterceptorRegistry registry) {
addSecurity(registry, "OidcClient").addPathPatterns("/protected/**");
}
}
That's it: /protected/** now requires an OpenID Connect login, and the user profile is available through the ProfileManager.
Switching to Keycloak, Google or Microsoft Entra ID is a matter of changing the client:
read the full guide or run the demo.
| Framework | Get started |
|---|---|
| Spring Web MVC / Spring Boot | OpenID Connect guide |
| Spring Security / Spring Boot | OpenID Connect guide |
| Spring WebFlux / Spring Boot | OpenID Connect guide |
| Jakarta EE | OpenID Connect guide |
| Play 2.x / 3.x | SAML guide |
| Vert.x | CAS guide |
| Javalin | SAML guide |
| JAX-RS | OpenID Connect guide |
| Dropwizard | OpenID Connect guide |
| Spark Java | OpenID Connect guide |
| Undertow | OpenID Connect guide |
pac4j also powers the authentication delegation of Apereo CAS, Apache Syncope and Apache Knox.
| Login protocols | Credentials validation |
|---|---|
| OpenID Connect • SAML • CAS • OAuth • HTTP • Kerberos • OpenID4VP (EUDI wallet, eIDAS 2.0) | LDAP • SQL • JWT • MongoDB • IP address • REST API |
| User profile | Web request |
|---|---|
| Roles • Anonymous / remember-me / (fully) authenticated • Profile type, attribute | CORS • CSRF • Security headers • IP address, HTTP method |
OpenID Federation • OpenID for Verifiable Presentations (EUDI wallet, eIDAS 2.0)
| JDK | pac4j | Usage of Lombok |
|---|---|---|
| 17 | v6.x | Yes |
| 11 | v5.x | No |
| 8 | v4.x | No |
The latest released version is . The next version is under development. See the release notes.
This project is developed using various AI tools across multiple areas, including development, testing, and documentation.
Contributions are welcome: read the contribution guide to get started.
⭐ If pac4j is useful to you, please star this repository: it helps other developers discover it!
| Apache Shiro | CAS guide |
| Jooby • http4s • Ratpack • Lagom (archived) • Akka HTTP (archived) | Jooby • http4s • Ratpack • Lagom • Akka HTTP |