Giter Club home page Giter Club logo

spring-kerberos-demo's Introduction

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

spring-kerberos-demo's People

Contributors

pramoth avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.