Spring-Security-Kerberos-With-MiniKDC
-
https://www.thetechnojournals.com/2019/12/integratedkerberos-authentication-using.html
-
https://github.com/thetechnojournals/spring-tutorials/blob/master/KerberosAuthTutorial
-
https://blog.csdn.net/weixin_40496191/article/details/124056421
-
https://blog.csdn.net/weixin_40496191/article/details/124056953
部署MiniKDC
git clone https://github.com/eugenp/tutorials
部署Krb5-Server
git clone https://github.com/gcavalcante8808/docker-krb5-server
docker run --detach \
--publish 4088:88 \
--publish 4464:464 \
--publish 4749:749 \
--volume krb5kdc-data:/var/lib/krb5kdc\
--env KRB5_REALM=EXAMPLE.COM \
--env KRB5_KDC=localhost \
--env KRB5_PASS=mypass \
--ip 172.18.0.199 \
--hostname krb5.light.local \
--network dev \
--restart=no \
--name krb5-server \
gcavalcante8808/krb5-server
docker exec -it -u root krb5-server /bin/bash
cat /etc/krb5.conf
# Will prompt for the password provided or the generated.
kinit admin/admin@EXAMPLE.COM
klist
[libdefaults]
dns_lookup_realm = false
ticket_lifetime = 24h
renew_lifetime = 7d
forwardable = true
rdns = false
default_realm = EXAMPLE.COM
[realms]
EXAMPLE.COM = {
kdc = localhost
admin_server = localhost
}