Skip to content

Latest commit

 

History

History
36 lines (31 loc) · 1016 Bytes

README.adoc

File metadata and controls

36 lines (31 loc) · 1016 Bytes

Overview

Originally forked from spring-security-kerberos to support the latest spring boot 2 and webflux .

Getting Started

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.