spring-projects / spring-security-kerberos

Spring Security Kerberos
https://spring.io/projects/spring-security-kerberos
182 stars 226 forks source link

Conditional tests when krb env required #170

Open jvalkeal opened 1 year ago

jvalkeal commented 1 year ago

Currently KerberosServiceAuthenticationProviderTest will fail if environment is not setup. For example if on linux you don't have /etc/krb5.conf so that jdk could read default realm.

If some tests really need an environment which contains working kerberos we should not run tests and custom junit5 condition could be made for this.