I have a simple web application, where username and password (entered in login page) are authenticated against LDAP using Spring Security.
Almost everything is configuration here. I can post all the config. files if necessary.
I need a way to disable this authentication altogether temporarily for the purpose of say demo/testing etc. Ideally if a 'do not authenticate' checkbox exists on login page, then authentication should be bypassed.
Ofcourse i can remove all Spring-Security stuff. But this is not really neat.
What is the simplest/best way to do this? Thanks.