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

What is java volatile?

0 Answers  


Explain wrapper classes in java?

0 Answers  


What is udp in java?

0 Answers  


int a=1,b=10; System.out.println(a+b--);

12 Answers   HCL,


What do you mean by jjs in java8?

0 Answers  






How do you use wildcards?

0 Answers  


Explain oops concepts in detail?

0 Answers  


For technical interview question please sir send me because tomorrow my interview

1 Answers   FactSet Systems,


Which are different kinds of source code?

0 Answers  


write SQL command for table employee where print first name or last name start like "A" and who is working in domain(angular js,java,dotnet)

1 Answers  


What is hasnext in java?

0 Answers  


What is the purpose of default constructor?

0 Answers  


Categories