Skip to content

pramoth/spring-kerberos-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to setup AD and setup Kerberos Authentication

  1. create domain user for service (application server like tomcat for authentication) we use dai for this exmple
  2. create DN. we use myserver.geniustree.local for example
  3. create keytab file
ktpass /out dai.keytab /mapuser dai /princ HTTP/[email protected]  /pass computer_123  /ptype KRB5_NT_PRINCIPAL /crypto All /target GENIUSTREE.LOCAL -kvno 0

where:

/mapuser dai is user that we create at 1. /princ HTTP/[email protected] is service principal that we will serve a http service. this value will be use for authentication handshaking

we not need to use setsp command because ktpass command will generate servicePrincipal automatically.

see resources/application.yml for application server setting

  1. https://www.ibm.com/support/knowledgecenter/en/SSAW57_8.5.5/com.ibm.websphere.nd.multiplatform.doc/ae/csec_SPNEGO_explain.html
  2. https://docs.oracle.com/javase/6/docs/technotes/guides/security/jgss/lab/part5.html
  3. https://docs.oracle.com/javase/1.5.0/docs/api/javax/security/sasl/SaslClient.html
  4. https://docs.oracle.com/cd/E23824_01/html/819-2145/sasl.intro.20.html
  5. https://docs.oracle.com/javase/6/docs/technotes/guides/security/
  6. https://www.oracle.com/technetwork/articles/idm/weblogic-sso-kerberos-1619890.html
  7. https://docs.bmc.com/docs/display/public/sso90/End-to-end+steps+for+configuring+Active+Directory+Kerberos+authentication
  8. https://docs.bmc.com/docs/display/public/sso90/Reconfiguring+your+browser
  9. https://docs.bmc.com/docs/display/public/sso90/Kerberos+authentication
  10. https://docs.bmc.com/docs/display/public/sso90/Mapping+the+Kerberos+service+name
  11. https://docs.bmc.com/docs/display/public/sso90/Generating+a+keytab+file+for+the+service+principal
  12. https://docs.spring.io/spring-security-kerberos/docs/1.0.2.BUILD-SNAPSHOT/reference/htmlsingle/#setupwinkerberos\
  13. https://blogs.technet.microsoft.com/tristank/2006/08/02/two-easy-ways-to-pick-kerberos-from-ntlm-in-an-http-capture NTLM Kerberos header

About

web based SSO by use Kerberos (Active directory)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published