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 are the advantages of user defined functions?
What are inner classes or non static nested classes in java?
What is keyword auto for?
Explain about the security aspect of java?
What are the two ways to create a thread?
hoe can u call a constructor of a private classs to other inherited claa??
What is the need to implement Serializable interface (with no methods) for objects which are to be serialized ? We can write our own functionality which writes objects to streams then why we need to implement and tell JVM that which objects can be serialized.
Explain with example the concept of constant variable in java.
How to make object serializable in java?
Does any tag exists in HTML to upload and download files ?
What data type is string java?
Difference between Array and vector?