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


Please Help Members By Posting Answers For Below Questions

Can a class have a static inner class?

697


What is empty list in java?

709


How many threads does a core java have?

608


What is the difference between iterator and enumeration ?

599


What is mysql driver class name?

643






How do I get the | symbol on my keyboard?

676


Can we call a non-static method from inside a static method?

654


Why java uses the concept of the string literal?

638


What does super keyword do?

647


What is data member in java?

592


Define an abstract class with reference to java.

655


How to avoid memory leak in java?

691


Why we override equals() method?

656


What are nested classes in java?

691


What is the difference between length and length () in java?

614