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 we use string in the switch case?
Difference between stack and queue?
Is there is any difference between a scrollbar and a scrollpane?
What is treemap in java?
How do you declare an array that will hold more than 64KB of data?
How many days will it take to learn java?
What is a platform?
What is substring 1 in java?
What is the purpose of main function in java?
Explain the difference between association, aggregation and inheritance relationships.
What is stack explain?
explain what is transient variable in java?
What do you mean by default constructor in java?
What is the difference between static binding and dynamic binding?
What about interthread communication and how it takes place in java?