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 are the classes of java?
Define how can we find the actual size of an object on the heap?
What are the object and class classes used for?
What loop means?
What does it mean to flush a file?
What are different types of control structures?
Can we write multiple catch blocks under single try block?
What is JDBC Driver interface?How can you retrieve data from the ResultSet
Is char * a string?
Why does abstract class have constructor?
worst case complexities of Quick sort and Merge sort.
What is flush () in java?
What does substring mean?
Can a singleton class be inherited?
Why Set interface contains unique elements, what internally implemented for this so that it contains unique elements?