Beruflich Dokumente
Kultur Dokumente
Version 1.1
By : Sanjeeb Mahakul
Revision History
Version 1.0 Date 29/09/2011 Modified By Sanjeeb Mahakul Change Control Revision Description Initial Document
Requirements List
No. 1 CaliberRM ID <nnnnn> Description <List the requirements which are described in this document.>
References
Document <Document> Author <Author> Status <Status> Version <n.n>
ii
Contents
1.ADF Authentication based on database tables......................................................1 1.1Steps to be carried out to implement security....................................................1
iii
authentication_sql_s cripts.txt
Step 2:Create a datasource in the weblogic server and remember the datasource name ( not the jndi name) We needs this value for the provider.Follow below steps to create a new datasource in weblogic. a. In Jdeveloper goto RUN menu and click on Start Server Instance as shown below :
b. Once the server get started open the weblogic console in IE and click on the Datasource tab in the home page. Create a New generic type datasource with datasource name as HPSADFDS ,JNDI Name as jdbc/HPSADFDS and database type as Oracle .
c. Click Next next and in connection properties feed in the connection details as shown below
d. Click next and test your connection configuration. If the connection is successful click Finish.
Step 3: Select the Security Realms link then select the default realm "myrealm" and go to providers tab. Here we can create a new authentication provider
Select your just created provider and change the Control flag to SUFFICIENT
After this we can go to the provider specific tab where we can add the details of the provider.We need to fill in the datasource name, select a password algorithm and add many SQL statements.
Copy sql one by one as per the correct tag and paste in the console. The sqls are as below :
Click Save and go to myrealms and Providers, reorder all the authenticator and bring db_users to first
Step 4: We need to restart the WebLogic server. After the reboot we can go the User and Group tab of your default security realm where we can change or add users and roles. Here is an overview where we can see SKING