Associate roles and permissions to users that existe on a database

Hi,
i want realise a secure authentification i used ADF Configuration but i found out that i cant bring my users from my database. i can just create new users with roles in Jdeveloper.
do you how we can bring users to Jdeveloper and associate to them roles and permission ?

i found this tutorial that is that what i did :
1. Start up weblogic server (Run .. Start Server Instance)
2. Log on to weblogic console ( http://localhost:7101/console/ )
3. Use default username/password weblogic/weblogic1
4. Create a datasource to connect to the schema where the authenticating database tables are (Services .. JDBC .. Data Sources)
5. Use unique name for datasource. Use JINDI name of jdbc/
6. Enter database name, schema name and password and test
7. Add new Authentication provider (Security Realms .. myrealm .. Providers .. New)
8. Enter datasource name, type SQLAuthenticator click Ok
9. Going back into provider, change control flag to Sufficient
10. Select Provider Specific tab and choose Plaintext passwords, password algorithm SHA-1
11. Shut down weblogic
12. Edit config.xml file in JDEV_DIR/system11.1.1.2.36.55.36/DefaultDomain/config and replace sql authenticator sql statements with those from web blog
13. Restart weblogic.
14. Go to users/groups tab in securty realm and view users and groups imported from database
15. Set control flag for other providers to "Sufficient"
source : http://brent.hmdclinical.com/2010/03/using-database-tables-as-weblogic.html
but the step 12 i dont know what i need to change and with what ?

Similar Messages

  • OBIEE Roles and Permissions

    Hi,
    I am new to OBIEE. I have installed OBIEE 10.1.3.4.1 in Windows Machines.
    I want to create user in OBIEE and i need to give appropriate permissions those users.
    How to give roles and permissions in OBIEE .Please help me
    Thanks,
    Vijay.

    Hi Vijay,
    Please start here; http://gerardnico.com/wiki/dat/obiee/security_10g
    Good Luck,
    Daan Bakboord
    http://obibb.worpdress.com

  • I have a photo in an album and in camera roll. I am trying to delete the photo from the camera rol and the only option that i get is : delete everywhere?     Noooooo i just want to delete it from camera roll!!!!!

    I have the same photo in an album and in camera roll. I am trying to delete the photo from the camera rol and the only option that i get is : delete everywhere?     Noooooo i just want to delete it from camera roll!!!!!

    The way that I understand that it works, is that the photos are not copied into the new albums, instead it just points to the photos - the number of photos on the iPad in Settings > General > About doesn't increase when you create new album so I assume from that that it isn't copying the photo, just pointing to it. So if you delete the photo from the camera roll you will therefore also be deleting all the pointers to it

  • Create Roles and Permissions using API

    Hello,
    I'm new to Java and I'm trying to create Roles and Permissions in LiveCycle using API's. Can someone please check and correct my code below?
                //Create a ServiceClientFactory object
                ServiceClientFactory myFactory = ServiceClientFactory.createInstance(connectionProps);
                // Create an AuthorizationManagerServiceClient object
                AuthorizationManagerServiceClient amClient = new AuthorizationManagerServiceClient(myFactory);
                RoleImpl ri = new RoleImpl();
                ri.setName("Test ES Role");
                ri.setDescription("Test Role via API");
                ri.setMutableStatus(true);
                amClient.createRole(ri);
    Executing the above code throws exception as below;
    com.adobe.idp.um.api.UMException| [com.adobe.livecycle.usermanager.client.AuthorizationManagerServiceClient] errorCode:16385 errorCodeHEX:0x4001 message:Exception thrown is NOT a DSCException : UnExpected From DSC chainedException:java.lang.IllegalStateExceptionchainedExceptionMessage:null chainedException trace:java.lang.IllegalStateException
              at com.adobe.idp.dsc.clientsdk.ServiceClientFactory$1.handleThrowable(ServiceClientFactory.j ava:72)
              at com.adobe.idp.dsc.clientsdk.ServiceClient.invoke(ServiceClient.java:220)
              at com.adobe.livecycle.usermanager.client.AuthorizationManagerServiceClient.createRole(Autho rizationManagerServiceClient.java:159)
              at com.adobe.lc.ManageRolesAndPermissions.main(ManageRolesAndPermissions.java:70)
    Caused by: java.lang.NoClassDefFoundError: javax.ejb.EJBException
              at com.adobe.idp.dsc.clientsdk.ServiceClientFactory.evaluateMessageDispatcher(ServiceClientF actory.java:595)
              at com.adobe.idp.dsc.clientsdk.ServiceClient.invoke(ServiceClient.java:215)
              ... 2 more
    Caused by: java.lang.ClassNotFoundException: javax.ejb.EJBException
    Thank you,
    Sandeep

    Mahesh,
    Refer to your other thread ..
    API to create new items in inventory
    API to create new items in  inventory
    Regards,
    Hussein

  • Roles and permissions

    I have a couple of questions.
    1. How would I go about fitting a custom permission resolver for SOA suite ?
    2. Is there a way to print the roles,users and permissions to debug ? My roles could be in LDAP or a database but permissions are in system-jazn-data.xml. Why are these permissions stored in a XML file ?
    Mohan

    Where do the LDAP implementation classes write their logs ?
    My worklist application writes logs to orabpel.log like the following.
    <2009-05-16 16:46:44,954> <DEBUG> <collaxa.cube.services> <LDAPUtil::getJNDIContext> JNDI Connection received
    My bpel console hits openldap but does not write log the same way. It shows that the user does not have enough privileges. So basically I don't see what is being done by my LDAP classes.

  • Navigation through a new role and persistence of user properties

    Hi there,
    I have a question related to roles and user-experience in the SAP Enterprise Portal.
    Depending on the preference of the portal user I would like to offer a different navigation by assiging a new role to the user.
    For example initially a role offers the navigation show below:
    Role 1:
    Toplevel navigation:     Entry A        Entry B     Entry C
    After a user request for a different navigation the order of the toplevel navigation changes.
    Role 2:
    Toplevel navigation:    Entry B     Entry C    Entry A     
    In order to realize this, I created two worksets for Entry A. By using merge-ids and a difference in sorting I managed to move the Entry A to the end of the toplevel navigation bar after assiging role 2.
    However I noticed that iView properties set by the portal users under role1 are lost after assigning the role2. Is there any way a user can keep the properties set under a previous role when getting assigned to a new role that has the same page?
    Thanks in advance,
    Arko

    FacesContext context = FacesContext.getCurrentInstance();
    context.getApplication().getNavigationHandler().handleNavigation(context,
    null,
    "<<NAVIGATION STRING>>");
    Thanks,
    Navaneeth

  • HOW TO CREATE ROLE AND ASSIGN TO USER

    Dear all
    1- Create ROLE data_entry
    2- Now open the Form Builder --> open Mennu.mmb --> F4,it open the property pallete --> Set use secturity option
    YES and in Module Role option set Roles --> form_entry
    5- Press F3 (Come back in Navigator Pane) then double click on Mennu, it open Mennu which is attached Forms then
    double click on that one Form which attach Role with it --> click on Item Role --> and attach the Role
    6- Go start Mennu --> Oracle Form6i-Admin --> Build after this it will ask
    ‘Enter System Passwors’ then Give the Local Password.
    'Enter database connection ( e.g. t:node:SID) [LOCAL] ' Give ORCL ( but me confused what should i give over
    here)
    7- Create User DEO Identified By DEO
    8- Grant DBA to DEO
    9- Grant data_entry to DEO
    When i run my application and get login by DEO user then i receive this Error:
    FRM-10247: No activate items in root menu of application.
    please let me know where i am making mistake
    Thanks in advance
    Regards,

    Hi,
    Just check your second point.
    - Now open the Form Builder --> open Mennu.mmb --> F4,it open the property pallete --> Set use secturity option
    YES and in Module Role option set Roles --> form_entryHere, you are using "form_entry" role to the menu but you've granted data_entry role to the user.
    Hence, at run time forms is expecting user with form_entry role, which it's not getting.
    Hope it helps.
    Please mark answer as helpful / correct, if it helps you
    Navnit

  • I am trying to generate an array of 30 random numbers. after every 5 readings a new vi should open and tell the user that 5 readings has been completed. and again carry on with the generation of array.

    since i do not have a transducer now, i am currently generating an array of 30 random numbers. after every 5 readings a warning should be given to the user that 5 readngs are complete. this cycle should repeat. the array size is 30.
    please help me out,  waiting for reply asap.
    once i have the transducer, i will be taking 30 analog samples and then after every 5 smaples that wraning will be displaye din a new VI
    Solved!
    Go to Solution.

    Use a while loop with a time delay representing your sampling period.
    Use the count terminal to check if equals 4, so 4th iteration=5th sample.
    Use a case structure. The true case will only be executed on the 4th iteration.
    In the true case place a subVI  with your desired message in the front panel. Go to the VI properties window and set "open front panel when called".
    The closing condition of the warnign is not giving in your description.
    Consider that rather than usign a subvi for this, you could use the "One/Two/Three button dialog" or "display message" vis at the "dialog and user interface" pallete.
    Please give it a try and send your own VI. Do not expect us to provide a working solution.
    Regards,

  • Roles and Permissions in Oracle BI Publisher

    Hi,
    I am trying to do Role based access in the Oracle BI reporting.The roles will be in the OVD/OID and OBIR reports access should be controlled as per those roles.
    The document I refered is
    http://docs.oracle.com/cd/E14571_01/bi.1111/e13880/T539768T526688.htm#xdosa_und_users.
    When I clicked on Permissions and added some permissions like Read,Write etc..and clicked Ok,"Failed" message is displaying.
    Any idea why this error is coming?
    Thanks in advance.
    Edited by: Subin Cheruvath on Feb 17, 2013 11:00 PM

    DiscoUser.
    Skulls lays it out well in that a database user has a database name (ie: rproudman). Then they can have a role (ie: cost manager).
    Similarly in Oracle Apps, there is an Oracle Apps user (ie: could be the same - rproudman). And they can have one or many responsibilities (ie: cost manager).
    Where Disco is concerned, is that if you create an Apps mode EUL, when you log in with your Oracle Apps username and password, you are presented with a list of Oracle Apps responsibilities that have been assigned to you in Oracle Apps (unless you only have 1 responsibility where the list won't be presented, but you'll be using that responsibility by default). As security, workbooks, etc. can - AND SHOULD - only be shared with responsibilities, when you log in to Disco as one responsibility, you might see a number of reports you're allowed to run. Go back in with a new responsibility and you may see a different set of reports. Works just like switching responsibility in Oracle Apps.
    Russ

  • Query on Roles and permissions in UCM 11g

    Hi,
    I have a query as follows:
    The administrator user can assign multiple roles to a user. If a user has more than one role, the permission becomes ______and ____.
    Is it,
    Addictive
    Less Restrictive
    More Restrictive
    Subtractive
    Please help.

    Sounds like a certification test question :-)
    I think the correct answers are Addictive and Less Restrictive
    (the user will get permissions based on all the roles he or she is assigned to)

  • HD Sharing and Permissions for User Wheel

    In Macintosh HD, there was a user called "Wheel" - Read Only. Scared that my system was somehow compromised, I deleted it. Now I realize "Wheel" is some sort of system group. My questions are:
    1) is this bad to have deleted it here?
    2) will it reappear or if not, how can i get it back b/c i assume it serves some function
    I found other posts that describe somewhat similar issues, but none talking about "wheel" being deleted off the HD. So my hope is that someone can help me answer this particular issue.
    Thank you, Bill
    ps The one thing i tried to do is repair disk permissions which didn't restore wheel to HD.

    bc270 wrote:
    hmm, i definitely didn't change any other permissions. but the i followed your last instruction, and HD is now back to admin read and write. thank you!
    two questions: 1) do you think my computer could have been compromised?
    most definitely not.
    2) in other directories like library and system i still have wheel , is this ok?
    yes. please don't change them. running repair permissions in disk utility will take care of wrong permissions on any other system folders.

  • When to set iwtUser-role and other per user schema using custom athentication?

    I have written my own authentication module and would like to set per user schema on login. Can I write iwtUser-role, iwtCalendarProvider-calendarUserPassword, etc from the authentication class?

    Yes you can, after the authentication is complete you get the profile object and then set whatever value you want to set for particular attributes you want to set ..

  • Project manager - role and document related to that

    Hi Guys,
    am working in MNC company, my company assigned one project me as a project manager, I need to perfom this role.
    Could you kindly help..
    what are the preliminary documents needs to be prepare before the project start.
    what are the document i have to prepare at the time of project and after the go-live
    just give me an bulled points...
    thanks in advance.
    regards
    Elangovan

    Hi Elangovan,
    Trigger new product development
    Set up project structure using templates
    Assign documents and resources
    Fulfill project related tasks and report progress
    Confirm milestones
    Project Controlling
    Trigger next activities manually or via workflow
    Process final activities, e.g. procurement.
    Close project
    and also find below link
    http://www.erpgenie.com/publications/saptips/Project%20Management%20EMconvt.pdf
    Regards,
    Srinivas Muthyala

  • Active Directory Authentication and permissions for user group in APEX 4.0

    Hello,
    I am new to oracle APEX and I have searched the forum for active directory authentication for a user group and I am really confused about all the different threads. Can anyone please provide me the steps to follow; in order to implement AD authentication for a user group in Oracle APEX 4.0.
    These are the threads which i was looking at to get an idea like how AD authentication works but its really confusing for me.
    Help with Authentication (APEX_LDAP.AUTHENTICATE)
    Re: LDAP Authentication Via Groups
    Thanks,
    Tony

    You need to give it more than 30 minutes before bumping your own post. This is not an official support channel, so you need to be patient and wait for people to read, think and respond.

  • How to verify if user already exists in MySQL database using JSP?

    Hi, I am trying to create a website that allows users to register and then login. All regsitration details are stored in a MySQL table and I am attempting to have a java bean check that a new user does not already exist by looking up the username. However, I cannot get this to work, the bean is allowing anyone through. I believe there may be a problem with my while loop as the bean checks through the stored usernames in the database. Any suggestions appreciated thanks. See my code below:[
    code]package foo;
    import java.sql.*;
    import java.util.*;
    public class FormBean {
         private String firstName;
         private String lastName;
         private String email;
         private String userName;
         private String password1;
         private String password2;
         private Hashtable errors;
         public boolean validate() {
              boolean allOk=true;
              if (firstName.equals("")) {
                   errors.put("firstName","Please enter your first name");
                   firstName="";
                   allOk=false;
              if (lastName.equals("")) {
                   errors.put("lastName","Please enter your last name");
                   lastName="";
                   allOk=false;
              if (email.equals("") || (email.indexOf('@') == -1)) {
                   errors.put("email","Please enter a valid email address");
                   email="";
                   allOk=false;
              if (userName.equals("")) {
                   errors.put("userName","Please enter a username");
                   userName="";
                   allOk=false;
    try {
              String database = "******hidden******";
              Class.forName("com.mysql.jdbc.Driver");
              Connection conn = DriverManager.getConnection(database,"********hidden*******");
              Statement stat = conn.createStatement();
              String query="SELECT u_name FROM users;";
              String DbUserName="";
              ResultSet rst=stat.executeQuery(query);
              while(rst.next()) {
    DbUserName=rst.getString("u_name");
    if (userName.equals(DbUserName)) {
    allOk=false;
    errors.put("userName","User name already exists, please choose another");
    userName="";
    conn.close();
    break;
    } catch (Exception ex) {
    ex.printStackTrace();
              if (password1.equals("") ) {
                   errors.put("password1","Please enter a valid password");
                   password1="";
                   allOk=false;
              if (!password1.equals("") && (password2.equals("") || !password1.equals(password2))) {
                   errors.put("password2","Please confirm your password");
                   password2="";
                   allOk=false;
    return allOk;
         public String getErrorMsg(String s) {
              String errorMsg =(String)errors.get(s.trim());
         return (errorMsg == null) ? "":errorMsg;
         public FormBean() {
         firstName="";
         lastName="";
         email="";
    userName="";
         password1="";
         password2="";
         errors = new Hashtable();
         public String getFirstName() {
              return firstName;
         public String getLastName() {
              return lastName;
         public String getEmail() {
              return email;
         public String getUserName() {
              return userName;
         public String getPassword1() {
              return password1;
         public String getPassword2() {
              return password2;
         public void setFirstName(String fname) {
              firstName =fname;
         public void setLastName(String lname) {
              lastName =lname;
         public void setEmail(String eml) {
              email=eml;
         public void setUserName(String u) {
              userName=u;
         public void setPassword1(String p1) {
              password1=p1;
         public void setPassword2(String p2) {
              password2=p2;
         public void setErrors(String key, String msg) {     
              errors.put(key,msg);

    Hmm, tried that and now have more build errors in the finally section.
    init:
    deps-jar:
    Compiling 1 source file to C:\resin-2.1.11\doc\examples\basic\WEB-INF\classes\JavaLibrary1\build\classes
    C:\resin-2.1.11\doc\examples\basic\WEB-INF\classes\JavaLibrary1\test\FormBean.java:57: cannot resolve symbol
    symbol  : variable rst
    location: class foo.FormBean
                if (rst != null) rst.close();
    C:\resin-2.1.11\doc\examples\basic\WEB-INF\classes\JavaLibrary1\test\FormBean.java:57: cannot resolve symbol
    symbol  : variable rst
    location: class foo.FormBean
                if (rst != null) rst.close();
    C:\resin-2.1.11\doc\examples\basic\WEB-INF\classes\JavaLibrary1\test\FormBean.java:58: cannot resolve symbol
    symbol  : variable stat
    location: class foo.FormBean
                if (stat != null) stat.close();
    C:\resin-2.1.11\doc\examples\basic\WEB-INF\classes\JavaLibrary1\test\FormBean.java:58: cannot resolve symbol
    symbol  : variable stat
    location: class foo.FormBean
                if (stat != null) stat.close();
    C:\resin-2.1.11\doc\examples\basic\WEB-INF\classes\JavaLibrary1\test\FormBean.java:59: cannot resolve symbol
    symbol  : variable conn
    location: class foo.FormBean
                if (conn != null)  conn.close();
    C:\resin-2.1.11\doc\examples\basic\WEB-INF\classes\JavaLibrary1\test\FormBean.java:59: cannot resolve symbol
    symbol  : variable conn
    location: class foo.FormBean
                if (con != null)  conn.close();
    6 errors
    BUILD FAILED (total time: 1 second)Just for a quick test, I deleted the sql exception and finally code and replaced it with a regular exception just to see what happened and got no build errors, however when I run the form I am getting an sql exception from the prepared statement, parameter out of range (1 > 0). I tried reading into prepared statements, and although I now understand their basics, I still have no idea why I'm getting this error?

Maybe you are looking for

  • Facing problem in generation of Spool.

    Hi all, Need your inputs in fixing the below problem. Same spool number is getting generated for all the background jobs,this problem is occuring from yesterday only after transporting few Smartforms to Production. These smartform outputs also comes

  • Vertical colored lines on screen of macbook pro after dropping it! Please Help!

    So my macbook pro was on my bed when I fell asleep and I must have pushed it off during the night. Anyway, I opened it this morning and now I have black and colored thing vertical and horizontal stripes on the screen and I don't know what to do! Plea

  • HP Deskjet F2280 always queue..

    hi my mom bought a hp desktop f2280 from KSA.. I installed all the drivers and softwares needed and seem's going smooth.. then when the time i was going to print, it always queue at the spooler.. i tried all the solutions like updating drivers and ma

  • Potential workaround for green frame issue

    Hi, We are sorry for the the inconvenience caused by green frame issue on some laptop models. To work around the issue that some users are experiencing in the 1.6 version on specific machines, current suggestions is to add 3 more lines above the last

  • Upgrade to 10.1.3.4

    we've upgraded from 10.1.3.3 to 10.1.3.4 during setup process we choose to keep the existing configuration instead of whole new setup. after installation the user privileges and access are missing or reset? ex: user had access to answers before upgra