Is there some function/procedure/package that validates a username and password in Oracle (from a user that exists in the db)?
Background: We want to create a web application that will use a pool of connections. All users already exists in the database, because of a legacy 6i application. So we think that the best approach is to validate the user and password of the database, but we don’t want to hardcode the url and open a new connection just to validate this.
I know that another way is to store a password in a user’s table, but if the Oracle provide this option will be much easier.
I found out a unofficial script that verify the Oracle’s
user$table.