# PAC4J 介绍
保护你的所有 web 应用程序和 web 服务的 Java 安全框架 (opens new window)。
适用于大多数框架/工具(实现):
- JEE (opens new window)
- Spring Web MVC (Spring Boot) (opens new window)
- Spring Webflux (Spring Boot) (opens new window)
- Shiro (opens new window)
- Spring Security (Spring Boot) (opens new window)
- CAS server (opens new window)
- Syncope (opens new window)
- Knox (opens new window)
- Play 2.x (opens new window)
- Vertx (opens new window)
- Spark Java (opens new window)
- Ratpack (opens new window)
- JAX-RS (opens new window)
- Dropwizard (opens new window)
- Javalin (opens new window)
- Pippo (opens new window)
- Undertow (opens new window)
- Lagom (opens new window)
- Akka HTTP (opens new window)
- Jooby (opens new window)
支持大多数认证机制:
- OAuth (Facebook, Twitter, Google...)
- SAML
- CAS
- OpenID Connect
- HTTP
- Google App Engine
- LDAP
- SQL
- JWT
- MongoDB
- CouchDB
- IP address
- Kerberos (SPNEGO)
- REST API
及授权机制:
- Roles/permissions
- Anonymous/remember-me/(fully) authenticated
- CORS
- CSRF
- HTTP Security headers