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
Explain differences between collection api and stream api?
What are byte codes?
What is string pool in java?
What are methods of a class?
What are the steps involved to write rmi based programs?
What is the use of StringTokenizer class?
Give me an example of array and linked list? Where they can be used?
When object is created and destroyed?
Does constructor be static?
when to use ArrayList and when to use HashMap in webApplication.
Can a class be private in java?
What is the final class modifier?
Break statement can be used as labels in java?
How do you compare objects in java?
What do the thread?class methods run() and start() do?