Role of the user of "SQL Developer" rESTful services

Hello

I am following the tutorial ""REST Data Services Installation, Configuration and Development Guide " "

But it seems that I can't create a user with the role of "Developer SQL". I am running the below command, I specify the password. Then called the credentials file is created.

But I can not yet connect SQL Developer using development REST with this credential.

java-jar ords.war user test_developer "SQL Developer"


There is no such role when I manually search for in the database. How can I create it?


Maybe I should create a thread separate, but my second question is, why I need for RESTful to work services have both apex_al.xml and apex_rt.xml conf files?

For what I understand, it is not necessary to have installed to use the services of APEX RESTful?

dmdamiyo wrote:

I am following the tutorial 'REST Data Services Installation, Configuration and Development Guide.

But it seems that I can't create a user with the role of "Developer SQL". I am running the below command, I specify the password. Then called the credentials file is created.

But I can not yet connect SQL Developer using development REST with this credential.

java-jar ords.war user test_developer "SQL Developer"

There is no such role when I manually search for in the database. How can I create it?

As mentioned by rwendel is not an Oracle database user / role you create, but it is specific to ADR.

You can share the link in the documentation where you follow this step?

If you want to install ADR using Oracle SQL Developer and use the various functions of the ADR 3.0, you can watch the following for quick information on ADR 3.0 sessions:

Maybe I should create a thread separate, but my second question is, why I need for RESTful to work services have both apex_al.xml and apex_rt.xml conf files?

For what I understand, it is not necessary to have installed to use the services of APEX RESTful?

Yes, Oracle APEX is not necessary for the accommodation of RESTful Web Services with ADR 3.0, it was necessary in pre ADR 3.0 versions.

Reference:

The 'apex_al.xml' is the configuration user DB APEX_LISTENER and 'apex_rt.xml' matches the configuration of the APEX_REST_PUBLIC_USER DB user. You don't have to configure these users (if you do not want to use Oracle APEX). These users are necessary only if you want to use the RESTful Services with Oracle APEX.

Reference: http://docs.oracle.com/cd/E56351_01/doc.30/e56293/config_file.htm#BABHAJDE

If you do not want to use Oracle APEX, then just configure the users ORDS_PUBLIC_USER and ORDS_METADATA.

Reference: http://docs.oracle.com/cd/E56351_01/doc.30/e56293/install.htm#CHDGACJC

Kind regards

Kiran

Tags: Database

Similar Questions

  • What is the role that the user points?

    What is the role that the user points? Who can tell me

    Reoddy

    You will find the information here:

    http://en.community.Dell.com/Dell-groups/new-to-community/f/3511/t/19566154

    Bev.

  • Revoke ROLE on the user table

    Hi team,

    I'm trying to revoke grant on the user table

    The Sub statement gives error saying

    [code]

    REVOKE < role_nm > on < a.table_nm > to < b.user_nm >

    Error: ORA 00990: missing or invalid privilege

    [/ code]

    But the following works fine

    [code]

    REVOKE ALL ON < a.table_nm > to < b.user_nm >

    [/ code]

    Please suggest me to revoke the grant on the user table

    Smile says:

    [code]

    REVOKE on of

    Error: ORA-00990: missing or invalid privilege

    [/ code]

    A GRANT on table is assigned to a ROLE and that ROLE is assigned to the USER. So when you want to REVOKE a specific GRANT what is assigned to a user by ROLE. You must REVOKE any ROLE to the user or REVOKE the GRANTING OF THE ROLE.

  • Assignment of roles to the user when creating the user

    Hi all

    I gave a roll deposited (< dsp:input bean = "ProfileFormHandler.value.roles.role" maxsize = "30" size = "30" type = "text" / > on the registration page.) After registration, each field in db except role (table dps_role).
    Pls let me know what I am doing wrong.

    Thank you

    You should not assign roles to the user as 'ProfileFormHandler.value.roles.role' of 's profile. You can link formhandler property to which you can pass the name or id of the role that you want to assign role assignment must always route through safety ATG API in order to properly update the mappings of Homeland Security. Because of these dependencies, you should not try the role of simply call profile.setPropertyValue ('roles',...) The code cannot fail this way, but if you assign the role in this way then it may not work as expected when checking for role based privileges. Here's one possible way to do it:

    1. in your file properties formhandler declare a dependency on the directory of the default user, which by default points to the profile database:

    userDirectory = / atg/userprofiling/ProfileUserDirectory

    So, in the form Manager, you declare corresponding setUserDirectory() and getUserDirectory().

    2 then in the formhandler, get the DirectoryPrincipal objects associated with the user profile and the role you want to assign and then assign the role to the user:

    import atg.userdirectory.UserDirectory;
    import atg.userdirectory.DirectoryPrincipal;
    import atg.userdirectory.User;
    import atg.userdirectory.Role;
    import atg.userdirectory.DirectoryModificationException;
    
    import java.util.Collection;
    import java.util.Iterator;
    
    ..
    ..
    
    private boolean assignRoleToUser(String roleName, String userId) {
    
      UserDirectory userDirectory = getUserDirectory();
      DirectoryPrincipal userPrincipal = userDirectory.findUserByPrimaryKey(userId);
      DirectoryPrincipal rolePrincipal = userDirectory.getRoleByPath(roleName);
    
      User user = (User)userPrincipal;
    
      Collection collection = userDirectory.getRoles();
    
      boolean status = false;
    
      Iterator iter = collection.iterator();
      while(iter.hasNext())
      {
        Object obj = iter.next();
        if(obj instanceof Role) {
          Role role = (Role)obj;
          if(roleName.equals( role.getName() ) && user!=null) {
            try {
              status = user.assignRole(role);    //will return true if the role was added otherwise false
            }
            catch (DirectoryModificationException e) {
           //handle exception
            }
            break;
          }
        }
      }
      return status;
    }
    

    In the code above 'roleName' parameter is the name of the role to be assigned to the profile with the id as "userId". If you want to do the role assignment when creating the user, then you can do the things above in postCreateUser() so that you can get the Principal associated with the profile. For more information about the interfaces and classes used here, you can refer to the documentation of the API of the ATG.

    http://docs.Oracle.com/CD/E26180_01/platform.94/APIDoc/ATG/userDirectory/package-summary.html

  • On the role of the user of the VI

    Hello!

    Role of the user of the vi, I get a problem in get by powercli. I can get the information of account by the Get-VMHostAccount cmdlet

    but he did not provide the role information, so, how can I get role of vi and vi user mapping information?

    Other: I know something in the 'Description' filed by Get-VMHostAccount, and sometimes he shows me that the user is an "administrator."

    But how to know exactly what the "some user" user as a role of 'administrator '?

    Thanks in advance!

    The Get-VMHostAccount cmdlet returns the accounts defined in the COS of the ESX Server.

    The accounts used in permissions on entities of vCenter are local users on the server vCenter or AD accounst of the domain to which belongs the vCenter server.

    To see the accounts, look at the main property returned by the Get-VIPermission cmdlet.

    Get-VIPermission
    

    ____________

    Blog: LucD notes

    Twitter: lucd22

  • Function to determine if the user is a developer

    Hello


    I remember that there should be a function that simply returns a TRUE/FALSE value, depending on whether the user is a developer or an end user.
    I thought that I would find that in the basic guides but I've not found anything and I remember fairer. Could someone tell me please the name of the function?


    Tiina

    Hello

    APEX_UTIL API have the GET_USER_ROLES function
    http://download.Oracle.com/docs/CD/E17556_01/doc/apirefs.40/e15519/apex_util.htm#BABCHEEH

    Kind regards
    Jari

  • How to flush the output of the script in sql developer

    Greetings from a newbie,
    How can I empty out the script in sql developer?

    Kind regards
    Valerie

    Flush? You can clear the output pane by pressing 'Clear' (Eraser pencil) icon: the first icon on the mini-bar to the tab tools.

    That answer your question?
    K.

  • Change the role of the user once authenticated LDAP authentication

    Hi forum,

    I do know that if it is possible, I have not found a solution so far

    I have a simple web application with LDAP authentication. We would like to use LDAP for authentication and store the information of user roles in the database. After authentication, LDAP assigns the role of "guest" to the user and the home page (the only page available for this role) is displayed.

    In this home page, the user must select a profile (the same user can have multiple profiles) in a list retrieved from the database. The profile of each user has an associated role. After selection, we want to change the role of the user "guest" to the role associated with the selected profile.

    I don't think that implementation of a custom plug-in fits my needs because the role assignment requires the participation of the user.

    Any suggestions?

    Thanks in advance,

    Tatiana.

    Hello

    Well, the problem is that you need to change the subject of the user authenticated, who's a JAAS thing to do. The only way this can work is indeed use a custom LoginModule and then access the user object to add a security principal that represents the role you want to add.

    Frank

  • Do not install the update for SQL Server 2005 Service Pack 3 (KB970892) security code error C0000005

    Do not install the update for SQL Server 2005 Service Pack 3 (KB970892) security code error C0000005

    This update didn't install when I used Vista and is still unable to install now, I updated to Windows 7.

    Have searched for a solution for months with no result. Reason why I updated.

    Any help much appreciated.

    DOUGY,

    Microsoft SQL Server 2005 Express Edition Service Pack

    Post here for assistance:

    http://social.msdn.Microsoft.com/forums/en-us/sqlsetupandupgrade/threads/

    --

  • eror message when I connect a profile of the user of Windows Vista Business Service has no logon.

    eror message when I connect a profile of the user of Windows Vista Business Service has no logon. Failed to load the user profile after wimdows update I have this problem I try safe mode but the gel keyboard, I try F12 boot does not work please, someone came to help me I need my computer for work

    Hello

    as you can not get into safe mode and work within the keyboard freezes in safe mode to do a startup repair disk

    then do a restore of the system of breast

    the link below is how to download and get a vista disk startup repair, which you can start from the

    http://NeoSmart.net/blog/2008/Windows-Vista-recovery-disc-download/

    Here's how to use startup repair system restore command prompt, etc. to bleepingcomputers link below

    http://www.bleepingcomputer.com/tutorials/tutorial148.html

    to boot from the dvd drive to be able to you will see a way to get into the bios Setup at the bottom of the screen or command menu start

    It would be F2 or delete etc to enter the BIOS or F12 etc. for the start menu

    Change boot order it do dvd drive 1st in the boot order

    and to read this information to try to fix the user profile cannot be loaded problem

    http://www.Vistax64.com/tutorials/130095-user-profile-service-failed-logon-user-profile-cannot-loaded.html

    When you log on a Windows Vista-based or a Windows 7 computer by using a temporary profile, you receive the following error message:

    The user profile Service has not logon. User profile cannot be loaded.

    http://support.Microsoft.com/kb/947215#letmefixit

    Your user profile was not loaded correctly! You have been logged on with a temporary profile.

    http://support.Microsoft.com/kb/947242

    If you tried to log on to Windows and received an error message telling you that your user profile is damaged, you can try to fix it. You will need to create a new profile and then copy the files from the existing to the new profile.

    http://Windows.Microsoft.com/en-us/Windows-Vista/fix-a-corrupted-user-profile

  • Cannot display the results in SQL Developer

    Hello Experts - I installed Oracle SQL Developer, just ran simple query. Nothing appears in the results window. Can you please let me know why?

    Select * of the double

    Done «I installed...» "mean you use 4.1.0? Or is it an older version, perhaps even an Early Adopter version? Have you installed in an empty folder? Were there no migration of user settings step?  Did you run the SQL statement (even if it is technically incorrect, as posted here, I guess the Oracle manages Analyzer) using the declaration of implementation (Ctrl + Enter) or run (F5) Script?

    So, you do not have much to do, but...

    1. try to use the latest version of production, installed in an empty folder.  In fact, the 4.1.1 patch comes out.

    2. try to click on the little black down, arrow down to the left of the box of the spreadsheet to see if that exposes a results pane.

    3. try window > Windows reset factory settings if you think that the layout of fenestration of the product is somehow screwed up.

    4. try view > log to see which makes its appearance in the statements of the Log pane tab when you run the SQL (version 4.1.0 & upward).

  • How to debug the package in sql developer?

    Hello

    I need to debug procedures in my package in the sql developer 1.5.5 version. In the debug log, I received the following:

    Connection to the database < databasename >.
    PL/SQL execution: ALTER SESSION SET PLSQL_DEBUG = TRUE
    Running PL/SQL: CALL the DBMS_DEBUG_JDWP. CONNECT_TCP ('127.0.0.1', '2754')
    ORA-01031: insufficient privileges
    ORA-06512: at "SYS." DBMS_DEBUG_JDWP', line 68
    ORA-06512: at line 1
    This session requires user DEBUG SESSION privileges to CONNECT and DEBUG ANY INTERIOR.
    Process is complete.
    The database < databasename > disconnected.

    I have granted the privileges of the user DEBUG CONNECT SESSION both to DEBUG ANY INSIDE system in the following way:

    GRANT DEBUG ANY PROCEDURE ESM_OWNER;
    grant the DEBUGGING SESSION to CONNECT to ESM_OWNER;

    However, I still get the same error. What I've done wrong? I really appreciate all the help to solve my problem.

    Thanks in advance!
    Cindy

    You have a firewall blocking this port? In addition, your database is running on the same machine that you use SQL Developer, or on a remote host? It's remote, you should provide the IP address of your local computer, not 127.0.0.1

  • SQL * more the 'timing' in SQL Developer command

    I installed SQL Developer version 4.1.1.19. In the sql worksheet, how can I use SQL * more order 'timing' in a script to see a time elapsed SQL? The "Timing" on 'set' did not return any info after running SQL, and 'calendar beginning mon_timer' back 'command Timing is obsolete. Help, please.

    Thank you

    • As you can see, there is no calendar information in the script output log.
    • Then I tried on the discussion forum, found it can be enabled in "tool > preference > Database > startup script" and set as startup script:

    Set serveroutput on

    set timing on

    • However, 2 questions are:
    1. the calendar that he returned is NOT the elapsed time of my stored procedure to run. He simply choose the 2 time points its time, before and not after MS point run. Set timing on is therefore not a solution for me.
    2. He did not follow the instructions in the startup script. After that I put the calendar in the startup script, stop & restart SQL Developer, same laptop charging, timing still on. The only way to turn off now is to configure it to NOT use

    any startup script.

    • Then I developed my own coding as a solution:

    3. control of the COIL

    VAR bv_start_ts VARCHAR2 (30)

    VAR bv_end_ts VARCHAR2 (30)

    VAR bv_elps_ts VARCHAR2 (30)

    DECLARE

    v_start_ts VARCHAR2 (30);

    BEGIN

    SELECT TO_CHAR (SYSTIMESTAMP, 'yyyymmddfxDyhh24miss.ff6') INTO v_start_ts FROM DUAL;

    : bv_start_ts: = v_start_ts;

    END;

    /

    IMPRESSION bv_start_ts

    EXEC pmsmmi.rpt.rpt_ethncty_race_smry (15);

    DECLARE

    v_end_ts VARCHAR2 (30);

    BEGIN

    SELECT TO_CHAR (SYSTIMESTAMP, 'yyyymmddfxDyhh24miss.ff6') INTO v_end_ts FROM DUAL;

    : bv_end_ts: = v_end_ts;

    END;

    /

    IMPRESSION bv_end_ts

    EXEC: bv_elps_ts: = TO_CHAR (TO_TIMESTAMP (: bv_end_ts, 'yyyymmddfxDyhh24miss.ff6')-TO_TIMESTAMP (: bv_start_ts, 'yyyymmddfxDyhh24miss.ff6'), 'hh:mi:ss.ff6');

    IMPRESSION bv_elps_ts

    SPOOL OFF

    • Then I got what I want, the answer is in the 'PRINT ': bv_elps_ts

    SQL > VAR bv_start_ts VARCHAR2 (30)

    SQL > VAR bv_end_ts VARCHAR2 (30)

    SQL > VAR bv_elps_ts VARCHAR2 (30)

    SQL > DECLARE

    v_start_ts VARCHAR2 (30);

    BEGIN

    SELECT TO_CHAR (SYSTIMESTAMP, 'yyyymmddfxDyhh24miss.ff6') INTO v_start_ts FROM DUAL;

    : bv_start_ts: = v_start_ts;

    END;

    /

    PL/SQL procedure successfully completed.

    Elapsed time: 00:00:00.031

    SQL > PRINT bv_start_ts

    BV_START_TS

    -----------

    20150702Thu112617.775545

    SQL > EXEC pmsmmi.rpt.rpt_ethncty_race_smry (15)

    PL/SQL procedure successfully completed.

    SQL > DECLARE

    v_end_ts VARCHAR2 (30);

    BEGIN

    SELECT TO_CHAR (SYSTIMESTAMP, 'yyyymmddfxDyhh24miss.ff6') INTO v_end_ts FROM DUAL;

    : bv_end_ts: = v_end_ts;

    END;

    /

    PL/SQL procedure successfully completed.

    Elapsed time: 00:00:00.062

    SQL > PRINT bv_end_ts

    BV_END_TS

    ---------

    20150702Thu112630.805786

    SQL > EXEC: bv_elps_ts: = TO_CHAR (TO_TIMESTAMP (: bv_end_ts, 'yyyymmddfxDyhh24miss.ff6')-TO_TIMESTAMP (: bv_start_ts, 'yyyymmddfxDyhh24miss.ff6'), 'hh:mi:ss.ff6')

    PL/SQL procedure successfully completed.

    SQL > PRINT bv_elps_ts

    BV_ELPS_TS

    ----------

    + 00:00:13.030241000 000000

    SQL > SPOOL OFF

  • Cannot create the user in SQL Server 2008 physical model

    When I'm on the right, click relationship models-> Relational_1-> physical models-> SQL Server 2008-> database-> users, 'New' (which is the only option) is greyed out and I can not add users.  In versions 4.0 EA, I was able to create users.  This feature has been removed from SQL Server?  I work in a mixed shop and we chose SDDM because it could support Oracle and Microsoft. And I am now ready to migrate everything from Oracle Designer to SDDM and it seems that some of the featrures of SQL Server have been removed.

    Hi Marcus,

    any object login - tree of the physical model of SQL Server consists of:

    -Databases

    - Connections

    -Tables

    -Views

    - ...

    If you need to create a connection in the connections series and in its dialog box you will find related tab.

    Philippe

  • DBA role to the user OGGADM

    Hello
    I implement Oracle GoldenGate to repplication one-way between two databases Oracle 11 GR 2. I'm following this OBE tutorial: "Oracle GoldenGate on Linux: two-way replication of Oracle 11 GR 2 to Oracle 11 GR 2.
    I want to know if it is mandatory to assign the role DBA to oggadm user. The problem is that I'll set up a topology to many-to-one and some of the source databases are external to my environment, so we will not be allowed to assign the role dba for these databases.
    Thank you

    You can grant DBA user of GoldenGate. Treat the user as you would for any other account which has the role. Alternatively, just follow what is indicated in table 4-1 (the most recent releases, table 1 or 2 in some old documents) in the installation guide.

    Kind of been lost on directions - one statement said one-way, but you use the bidirectional tutorial.

Maybe you are looking for