Announcement Announcement Module
No announcement yet.
Where is the current example/tutorial for spring security spnego Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Where is the current example/tutorial for spring security spnego

    i have been following this: spring spnego tutorial from 2009 and the example code wont build and the tutorial seem a bit old. Where can I find current info or examples on this?

    the tutorial mentions "If you open the security.xml file of the sample application, which is under /src/main/webapp/WEB-INF, you see a basic Spring Security configuration which uses the new Kerberos module." could this be referring to spnego.xml?
    Last edited by Arthur Ulfeldt; May 25th, 2011, 05:17 PM. Reason: added example

  • #2
    You can checkout the current project source from git.


    • #3
      I'm asking about tutorials/examples/howtos or other ways of figuring out how to use this. I get the same results from the sample code in git that i got from the link on the 2009 blog post. Are there any examples available of this module being used? (is this module being used?)


      • #4 kerberos seems to want a password and is upset that it is running non-interactivly:

        Caused by: Unable to obtain password from user

        at tForPass(
        at ptAuthentication(
        at (
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)

        where can i specify this in spenego.xml?

        class=" beros.SunJaasKerberosTicketValidator">
        <property name="servicePrincipal" value="HTTP/[email protected]" />
        <!-- Setting keyTabLocation to a classpath resource will most likely not work in a Java EE application Server -->
        <!-- See the Javadoc for more information on that -->
        <property name="keyTabLocation" value="/WEB-INF/http-web.keytab" />
        <property name="debug" value="true" />


        • #5
          Please just post one thread? There is no tutorial per se, but your best bet is probably the numerous samples and unit tests that are included in the SPNEGO module distribution.