I want to set flag value (0===AD login,1===nomad login,2 both way)in properties file of my spring project and in login.java file how to set flag value from properties file as
If flag value is set in properties file as 1 then authenticate user by Ldap authentication
If flag value is set in properties file as 2 then authentication user by non Ad. I.e userid password authentication
If flag value set in properties file as 3 then authenticate user by both the method ldap ad and non ad
I'm new to java programming..any help would be highly appreciated.
Thanks
0 Answer(s)