Robert,
Even though they share some functionality LDAP and Databases(Oracle, �) differ alot.LDAP is a standard way to provide access to directory information. You can use LDAP groups to store some level of data with limitations.
You need JNDI and JAAS API's in your login module for authentication. JNDI does for LDAP what
JDBC does for Oracle -- it provides a standard API for interacting with naming and directory services using a service provider interface (SPI), which is analogous to a JDBC driver.
Hope this helps.
Best Regards,