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
Is empty in java?
How can a gui component handle its own events in java programming?
Can a class be private?
Is array a class in java?
What are packages in java?
How many types of memory areas are allocated by JVM in java?
Can an interface implement another interface?
Is 0 an irrational number?
What is boolean strategy?
How can we make sure main() is the last thread to finish in java program?
Will the compiler creates a default constructor if I have a parameterized constructor in the class?
Which way a developer should use for creating thread, i.e. Sub classing thread or implementing runnable.
Can a method be overloaded based on different return type but same argument type?
If try block is successfully executed, Then Is Finally block executed?
Explain why wait(), notify() and notifyall() methods are in object class rather than in thread class?