Originally forked from spring-security-kerberos to support the latest spring boot 2 and webflux .
The recommended the way is to use spring boot starter.
dependencies {
implementation 'io.github.openprojectx.security.kerberos:spring-boot-starter-kerberos:5.7.6-SNAPSHOT'
implementation 'org.springframework.boot:spring-boot-starter-web'
}
For webflux:
dependencies {
implementation 'io.github.openprojectx.security.kerberos:spring-boot-starter-kerberos:5.7.6-SNAPSHOT'
implementation 'org.springframework.boot:spring-boot-starter-webflux'
}
and enable in the application.yml
:
spring:
security:
kerberos:
server:
enabled: true
service-principal: HTTP/spring-security-sso-kerberos
keytab-location: file:///tmp/spring-security-sso-kerberos.keytab
For more examples, please reference Samples.