Intercepting Spring/Spnego Security
Hi (I'm new to Spring so please forgive any stupid questions!)
I'm using Spring 3.0.0 to authenticate a web app using Spnego. This is all configured and working fine. However the app is also to be accessed via Blackberry which is causing issues with the Spnego authentication. What i would like to do is intercept the code at a point where having checked the user's browser I can direct then either
a) through the normal Spring/Spnego security or
b) through a different authentictaion mechanism for the blackbery users
I have tried intercepting the code in servlet filters (extends GenericFilterBean) however the request headers appear to have been modified! Where I am expecting to see
user-agent = Blackerry9000 etc etc
I see
user-agent = Mozilla/4.0 etc
Can anyone tell me how/where this would get changed? And where in my code I might be best trying to intercept the request?