We successfully configured SSO using Kerberos with the Java EE application and authenticating with Windows Active Directory after many weeks of testing and web scanning.
JBOSS Negotiation Spring Kerberos . , . ...
- Active Directory.
- ktpass keytab . ( ktpass, )
- setspn -A ktpass.
- , krb5.conf(linux) krb5.ini() .
- , , .
- , .
- Kerberos kinit JDK.
- - .
- XML - , .
- !!!!!!!!!
- Spring, UserDetailsService LDAP ( ) .
- : = null.
ktpass:
- , , Active Directory.
- , .
- , keytab.
- , KRB5_NT_PRINCIPAL.
ktpass /out c:\service.keytab /mapuser userservice@TESTDOMAIN.SERVER.COM /princ HTTP/hostname@TESTDOMAIN.SERVER.COM /pass /ptype KRB5_NT_PRINCIPAL- setspn -A :
setspn –A HTTP/hostname.testdomain.server.com userservice - RESET ( keytab).
, kinit .
, SPN ! setspn -X Windows Server 2008 ( google script), , !
, - , .