How to validate the request (Eg:user name and password) in
session(http session)? not in LDAP server ?
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 |
What is finalize()? Is finalize() similar to a destructor?
What is preparedstatement in java?
what is difference between abstract factory and factory design patterns?
How do you sort in descending order in java using collections sort?
Can you make a constructor final?
How use .contains in java?
What is the difference between synchronized and synchronized block?
Does substring start with 0?
what is web.xml?and its use?
How would overload a function based on return type?
If a multi threaded Java program has started numerous number of threads, at any point in time how to know which thread is currently executing/running ?
7 Answers Accenture, College School Exams Tests, iFlex, NIIT,
Can we extend private class in java?