Regards, Ricky
Oracle Weblogic 10g Certified Expert TechPaste.Com
[OCP 21 book] | [OCP 17 book] | [OCP 11 book] | [OCA 8 book] [OCP 8 book] [Practice tests book] [Blog] [JavaRanch FAQ] [How To Ask Questions] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
Regards, Ricky
Oracle Weblogic 10g Certified Expert TechPaste.Com
Ramakanta Sahoo wrote:Thanks Jeanne,Bauke for your valuable suggestions.
My point is as i need to authenticate only 1 user with UID: Admin Password: something
Why i will use a DB to compare values. For only a single user and password authentication dont you think it will be expensive to connect to a DB for checking. It would be convinient if i would have multiple users(>1) for authentication then DB will be the right choice. I dont know about the security aspects.
If anyone dont mind can some one put the code for WHERE clause cause am not getting it right.
thanks again for your help.
Srikanth Nutigattu wrote:If you are comfortable..
you can specify user details for whom you want to provide access in tomcat's xml configuration file.
Ramakanta Sahoo wrote:
If anyone dont mind can some one put the code for WHERE clause cause am not getting it right.
Bear Bibeault wrote:
Not an approach I'd take. Not only does that severely limit what you can do, it makes your app container-dependent.
Ramakanta Sahoo wrote:
I dont want to store the username and password in any database as only one user i require.
Bear Bibeault wrote:
it makes your app container-dependent.
Ramakanta Sahoo wrote:
I have seen in tomcat they have a administration page throgh which you need to login then only you will be able to access the application.
Ramakanta Sahoo wrote: dont you think it will be expensive to connect to a DB for checking.
[OCP 21 book] | [OCP 17 book] | [OCP 11 book] | [OCA 8 book] [OCP 8 book] [Practice tests book] [Blog] [JavaRanch FAQ] [How To Ask Questions] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
