Authentication with tomcatspnego using a ServletFilter: Source here


This is the issue mentioned in the discussion thread
see http://tomcatspnego.codeplex.com/Thread/View.aspx?ThreadId=224431&ANCHOR#Post483337
I have added the source to this issue. Hope this is useful for others.
This filter SSPAuthenticatorFilter is copied mostly from SSPAuthenticator.java. (TCP version 062010)
I did not copy the code dealing with the AD groups, because I only want to use the filter for (SSO) Authentication (and not Authorization).
The classes are such that all new/modified code fits in only one new source file: SSPAuthenticatorFilter.java.
Sorry: I did not adjust the javadoc/comments.
the following web.xml config fits for me:

file attachments