Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • How to set flag value in config.properties file and fetch the flag value in java class

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 478
    Answer it

    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)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: