keycloak简介
Keycloak 基于 WildFly 应用服务器及其子项目([[Infinispan]](用于缓存)和 [[Hibernate]](用于持久性)之上构建,所以需要阅读它们的相关文档。
keycloak主要功能
- 单点登录(SSO)
- 支持的标准协议:[[OpenID]] Connect, [[OAuth]] 2.0 和 [[SAML]] 2.0
- 集中管理:对管理员和用户
- 适配器(Adapters):轻松保护各种应用和服务
- 支持 [[LDAP]] 和 [[Active Directory]]:连接已有的用户目录服务
- 社交账号:轻松启用社交登录
- 支持身份代理人(Identity Brok ering):OpenID Connect or SAML 2.0 IdPs
- 高性能:轻量、快速、可伸缩
集群:可扩展性、可用性 - 样式:自定义外观
- 可扩展:用户可通过代码自定义
- 密码策略:用户可自定义密码策略
Keycloak使用和依赖的一些开源软件:
- [https://github.com/jboss-modules/jboss-modules JBoss Modules]
- [https://github.com/jboss-msc/jboss-msc JBoss Modular Service Container]
- [https://github.com/jbossas/jboss-threads JBoss Threads]
- [https://github.com/wildfly/wildfly-core WildFly Core]
- [https://github.com/wildfly-security/wildfly-elytron WildFly Elytron]
- [https://github.com/xnio/xnio XNIO]
- [[Infinispan]]
- [[Hibernate]]
- [[RESTEasy]]
- [https://github.com/undertow-io/undertow Undertow] based on XNIO, HTTP listener default listening on 127.0.0.1:8080
- [https://github.com/jboss-remoting JBoss Remoting]
- [[Apache FreeMarker]]
- [https://github.com/liquibase/liquibase Liquibase]
keycloak集成
-
[[FreeIPA]] services (Directory Server, [[Kerberos]], [[PKI]])
-
[[WSO2 API Manager]] [https://medium.com/@athiththan11/token-revocation-wso2-api-manager-keycloak-km-3695d217bd7c Token Revocation: WSO2 API Manager & Keycloak KM]
-
Quarkus
[https://github.com/keycloak/keycloak/tree/master/quarkus Keycloak on Quarkus] -
Saa
Keycloak as a Service
官方链接
- [https://www.keycloak.org Keycloak官网]
- [https://github.com/keycloak/keycloak Keycloak @ GitHub]
下面的文章重点介绍RestEasy和单元测试