How to validate the request (Eg:user name and password) in
session(http session)? not in LDAP server ?



How to validate the request (Eg:user name and password) in session(http session)? not in LDAP serve..

Answer / 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

More Core Java Interview Questions

Discuss different types of errors that generally occur while programming.

0 Answers   Amdocs,


How to create an instance of a class without using "new" operator? Plz help me out properly.Thank u.

10 Answers   CSC,


what is the difference between static block and static method

19 Answers   Huawei,


Mention a package that is used for linked list class in java.

0 Answers  


What is the SimpleTimeZone class?

0 Answers  






Is integer a class?

0 Answers  


What are invisible components?.

0 Answers  


What is the independent variable in an experiment?

0 Answers  


What is the difference between choice and list?

0 Answers  


what state does a thread enter when it terminates its processing? : Java thread

0 Answers  


what is difference between signed & unsigned char?

2 Answers  


How can an object be unreferenced?

0 Answers  


Categories