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

Is void a keyword in java?

0 Answers  


How static variable work in java?

0 Answers  


What is java class writing rules?

1 Answers   Oracle,


Name and explain the types of ways which are used to pass arguments in any function in java.

0 Answers  


what r callable statement and give their proper use

2 Answers  


What does the append?

0 Answers  


what is session facade ?

3 Answers  


Does windows 10 need java?

0 Answers  


Why are constructors used?

0 Answers  


what is bytecode? watz the difference between machine code and bytecode?

9 Answers   Oracle,


Can we sort list in java?

0 Answers  


what is the difference between HashMap and Hashtable

17 Answers   Value Labs, Virtusa,


Categories