How to validate the request (Eg:user name and password) in
session(http session)? not in LDAP server ?
Answer Posted / hasan ul huzaibi
You can Use a HashMap to put all user objects into into it
and put this hashmap into session and whenever required get
HashMap from session and get object with key as user name
and then validate it against login
details...hasanulhuzaibi@gmail.com
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is a protected void?
What is the java virtual machine?
What is anagram of a string?
How do you create a null object?
What does indexof return in java?
What is hasnext in java?
Can we have multiple catch block for a try block?
What is string pool?
Define class?
What is the purpose of encapsulation?
What is lifetime variable?
Define how destructors are defined in java?
Can a string be null?
Can we declare a constructor as final?
What is return null in java?