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
How can you avoid serialization in child class if the base class is implementing the serializable interface?
Can an unreferenced object be referenced again?
Explain features of interfaces in java?
How does java enable high performance?
Can we initialize the final blank variable?
Why is a singleton bad?
Can we use string in the switch case?
What are the 4 types of research methods?
Can we define private and protected modifiers for variables in interfaces?
What is class level lock ?
What are accessor methods in java?
What is main difference between variable and constant?
What is a cup of java?
Explain the overview of UDP messaging.
How do you sing an Applet ?