I am using spring-security 3.0.2.RELEASE with spring-security-kerberos-core 1.0.0.M2 to implement SPNEGO based authentication.
The server has more than one valid DNS name. One refers to the machine itself (machine.domain), the other refers to the application (app.domain). Currently there is no reverse proxy set up.
I need to ensure that SPNEGO works for both valid DNS names. As it is, I have the machine name set up as the SPN. If I use IE7 to connect to the application, it works to connect to the machine name, but not the application name (HTTP 401).
I am using the SunJaasKerberosTicketValidator to validate tickets, but it only allows for one SPN to be configured at a time.
How do I configure my application to work with multiple SPNs? Do the SPNs just have to be added to the list with setspn? Or do I need to set up multiple ticket validators?
My question is very similar to this one (which was unanswered): http://forum.spring.io/forum/spring-projects/security/122250-spring-security-3-kerberos-spn
Thanks so much,
James