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
Can a class have a static inner class?
What is empty list in java?
How many threads does a core java have?
What is the difference between iterator and enumeration ?
What is mysql driver class name?
How do I get the | symbol on my keyboard?
Can we call a non-static method from inside a static method?
Why java uses the concept of the string literal?
What does super keyword do?
What is data member in java?
Define an abstract class with reference to java.
How to avoid memory leak in java?
Why we override equals() method?
What are nested classes in java?
What is the difference between length and length () in java?