spring-projects / spring-security-kerberos

Spring Security Kerberos

Home Page:https://spring.io/projects/spring-security-kerberos

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Conditional tests when krb env required

jvalkeal opened this issue · comments

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.