Table of global users

Good afternoon

I wasn't sure what to enter in the subject line, so as you can see I used "Table of global users. It is not completely convey what's my question, so I'll try to explain better.

Perform us authentication in our Apex applications. Currently, we have a user table for each application that stores information about the user. It contains the name, email address, password hash, roles, etc. This is a pretty nice process and works very well for us.

We want to migrate to a global user table and store all of our Apex users in 1 table. (We will also have a separate table that contains one row for each Apex application one has access to and what are their roles). It will have obvious benefits. For one we won't have to create a new table of users specific app whenever we create a new Apex application. And, we will be able to use the same authentication procedure for all of our Apex applications for all users and their passwords will be in the 1 table.

We have not yet created one of the objects. We build only the spec now. Does anyone have experience doing exactly what we are trying to do? If so, you share how you did it?

THX, Tony

Looks like an interesting idea... Have you looked at the article for a few years in Oracle magazine that showed how to code an application of type of Portal allowing access to individual applications, this managed user information at this level, similar to what you are doing...

See this Oracle magazine article June 2006: http://www.oracle.com/technetwork/issue-archive/2006/06-may/o36apex-086847.html

Thank you

Tony Miller
Webster, TX

While it is true that technology is waiting for no man; stupidity always stops to accommodate new passengers.

Tags: Database

Similar Questions

  • Explain the difference between OIA and Global users

    Hi all;

    I have question: explain the difference between OIA and Global users

    smbd explain this issue?

    --
    Eugene

    Globalusers are your HR users typically & stored in the table globalusers-> http://wikis.sun.com/display/OIA11gDocs/GlobalUsers+Module

    While the OIA users are users with access to the OIA console for example certifiers etc & stored in the RBX tables *-> http://wikis.sun.com/display/OIA11gDocs/Security+Module#SecurityModule-RBXUSERSTable

  • Relational table between the user and UD_ADUSER profile

    Hello

    I have a requirement where in I need to write a query to find out the difference between user profile for a particular user data and the form data from the same user AD process in Oracle Identity Manager 11g R2 (11.1.2.0)

    While the details of the user are stored in usr table, the table of process for AD shape is UD_ADUSER table. By comparing the two tables, I find the common attribute to be orc_key in UD_ADUSER and ORC table contains the usr_key and table orc_key / usr the usr_key.

    Is ORC table the proper relational table between usr and UD_ADUSER tables to link users between these two tables usr and UD_ADUSER?

    Please correct me if I'm wrong.

    -Thank you,

    def.

    You can use these two tables. I always spend Ouedraogo table between them because the OST has the status of a resource. You can query between them.

    -Kevin

  • Error in ODI, ORA-01747: invalid column, table.column, or user.table.column specification

    ODI-1227: SrcSet0 (load) task fails on the source of ORACLE STAGING_YYY connection.

    Caused by: java.sql.SQLSyntaxErrorException: ORA-01747: invalid column, table.column, or user.table.column specification

    We get the above error whenever we run an ODI interface,
    This interface is straight forrwad a mapping update incremental IKM Oracle, although we have identified the problem but do not know how it could be fixed

    Source table that contains two columns that are generally identified as the key of DB

    NAME

    / / DESC

    the target too has the same columns. If we disable these mappings to columns from the Active maps the interface works very well, however, with the latter, it fails. We will not be able to change the name of the column in the target because it is a table of Oracle products and has several dependencies to the breast.

    Please suggest an alternative and also if our understanding is correct.

    Thanks in advance.

    Jay

    HI Jay

    change the column as DESC and put "DESC" in the name, and save it for all the source concerned target and remapping to remove the column from the interface

    Thank you

    P

  • Error Type 2 SCD: ODI - 1228:ORA - 01747: invalid column, table.column, or user.table.column specification

    ODI error. When you try to import.

    Error Type 2 SCD: ODI - 1228:ORA - 01747: invalid column, table.column, or user.table.column specification

    It is a common question.

    Allow your SCD SCD table column properties if you do not select "crush on change."
    This property simply

    -Online CPC IKM goto => select ignore option error on update of existing lines.

  • Expdp unable the aud$ table as the user sys

    Hello
    Oracle 11 g 2
    OS: Solaris

    Expdp unable the aud$ table as the user sys

    Audit tables is size: 5 GB to check tablespace

    Error details:

    Current estimation using BLOCKS method...
    Total estimation using BLOCKS method: 0 KB
    ORA-39166: Object SYS. AUD$ has not been found.
    ORA-31655: no data or metadata of objects selected for employment

    Export is suspended for 4 hours and shows 0kb of dumpfile to the os levl.

    kindly, one please help on this issue.

    Thank you
    visu.

    try to export the table SYS. AUD$ using the traditional export...

    $exp system / file yourdmpfile.dmp log = yourlogfile.log = tables = sys.aud$

    Please see below notes for more information.
    DBMS_AUDIT_MGMT to manage and purge Audit information [ID 731908.1]

  • GRANT SELECT on a table to the user / role changes for the tab last_DDL

    Hello

    Is grant select (or any private object) to the user/role a DDL statement?

    GRANT SELECT on a table to the user / role changes the last_DDL to the table.
    1 > is this expected behavior?
    2 > no way in which we can grant select on a table by another user, without changing the DDL? (for example create view).


    The test is performed:

    Prior to the issuance:


    OBJECT_NAME CREATED TIMESTAMP LAST_DDL_TIME OWNER
    ------- ---------------------- ---------- ------------- --------------------
    AR HZ_CUSTOMER_PROFILES 8 MAY 00 13 MARCH 13 2003-06 - 26:12:41:29



    Grant statement:
    GRANT SELECT ON "AR". "' HZ_CUSTOMER_PROFILES ' TO 'AR_VIEW ';

    Note: AR_VIEW is a role, I tried granting also directly to the user.


    After the grant:

    OBJECT_NAME CREATED TIMESTAMP LAST_DDL_TIME OWNER
    ------- ---------------------- ---------- ------------- --------------------
    AR HZ_CUSTOMER_PROFILES 8 MAY 00 21 MARCH 13 2003-06 - 26:12:41:29



    Old thread, discuss whether Grant is DDL or not, but no documented conclusions.
    ( Re: Grant, revoke is DDL and DCL? )

    Please help in the assessment above.

    -Best regards,.
    Mani

    It's the DOF.

    After all, this isn't DML, it implicitly committed and you cannot use it directly in PL/SQL: features of DDL. :-)

  • DBMS_FGA.add_policy... How to handle multiple tables and multiple users

    Dear all,

    My database is 11 GR 1 material and Linux is the platform.

    I have over 50 very important tables and about 15 users database.

    I want to implement an audit fine-grained on these important tables.

    This is how I will implement:

    SQL > START
    () DBMS_FGA.add_policy
    object_schema = > 'Scott ',.
    object_name = > "SAL."
    POLICY_NAME = > "SALARY_CHK_AUDIT"
    audit_condition = > NULL,
    handler_schema = > 'imran.
    statement_types = > 'SELECT, INSERT, UPDATE, DELETE.
    audit_column = > NULL);
    END;
    /

    What is I have several tables of several users and object_schema in handler_schema.

    I hope I'm able to clear my question, doubts please let me know.

    Best regards, Imran

    Hello

    object_schema - the schema of the object to be audited. (If the value is NULL, the schema of the current user is supposed).
    in case if you want to audit for multiple users - then make a test taking a value null and test access important tables - where relevant audit records are generated according to your requirement or not. I have not tested... try it

    -Pavan Kumar N

  • How to insert multiple rows in a table by the user (pl/sql)

    Hello
    I was trying to insert several rows in a table by a user by some pl/sql, but not every time entry. :/
    What is happening is that the program requires each time ask the user for the new value but the loop
    1 values inserts actually four times (the loop is run four times). can any point on what I am
    doing wrong or solutions will be fun ;)

    what I wrote here

    ---------------------------------

    Set serveroutput on
    set verify off

    declare

    EmpNo number;
    EmpName varchar2 (20);

    Start

    because loop me in 1.4
    EmpNo: = & empno;
    EmpName: = '& empname';

    insert into values(empno,empname) of the employee;

    end loop;

    end;

    -------------------------------

    do not laugh at my code, I'm new to this oracle :D

    Thank you, prospects for the future for a response

    user13371438 wrote:
    Thanks for the info, looks like a nice tool will ;) try
    but I really want (my problem) in pl/sql

    Take a quick re-read my post above.

    PL/SQL is a process running on the database server. This process cannot interact with the client computer. He can't ask for user input, and it cannot display the output to the client. Client interface tools can only do. You are eager to get feedback from a user, if you need an interface tool to do. SQL * Plus can interface and application of entry, but only as variable substition, and it does not really provide a programming construct that allows you to run a program in a loop to do. Do this using SQL * Plus you must pair it with shell/dos scripting languages, but more ideally you should use an interface appropriate as Apex.

    I was wondering if it all works in pl/sql to release cached data (as fflush (stdin) in c ++)

    PL/SQL does not a customer entry, so there is no sense to have something to release the cached data. You pass the values of PL/SQL code using procedures or functions with parameters.

  • specification of invalid column, table.column, or user.table.column

    I'm doing a simple one-to-one mapping.
    I'm trying to associate a key to my table in the source field with a key field in my target table.
    Both are Oracle tables.
    Mapping in source.
    Target Key and Check the column not Null (Flow Control) have been checked.

    Error message I receive:

    1747: 42000: java.sql.SQLException: ORA-01747: invalid column, table.column, or user.table.column specification

    java.sql.SQLException: ORA-01747: invalid column, table.column, or user.table.column specification


    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)

    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:316)

    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:282)

    at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:639)

    at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:185)

    at oracle.jdbc.driver.T4CPreparedStatement.execute_for_rows(T4CPreparedStatement.java:633)

    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1086)

    at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:2984)

    at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3057)

    at com.sunopsis.sql.SnpsQuery.executeUpdate (SnpsQuery.java)

    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execStdOrders (SnpSessTaskSql.java)

    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt (SnpSessTaskSql.java)

    at com.sunopsis.dwg.dbobj.SnpSessTaskSqlI.treatTaskTrt (SnpSessTaskSqlI.java)

    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask (SnpSessTaskSql.java)

    at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep (SnpSessStep.java)

    at com.sunopsis.dwg.dbobj.SnpSession.treatSession (SnpSession.java)

    at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand (DwgCommandSession.java)

    at com.sunopsis.dwg.cmd.DwgCommandBase.execute (DwgCommandBase.java)

    at com.sunopsis.dwg.cmd.e.i (e.java)

    at com.sunopsis.dwg.cmd.g.y (g.java)

    at com.sunopsis.dwg.cmd.e.run (e.java)

    at java.lang.Thread.run (unknown Source)


    The query ODI runs:

    / * DETECTION_STRATEGY = NOT_EXISTS * /.
    Update MIG_PROF ATTRIB_MATRIX t.
    Set)

    ) =
    (
    Select

    of ODIWORK. I HAVE$ _ATTRIB_MATRIX S
    where T.BAC = S.BAC
    )

    where (LAC)
    en)
    Select TRAY
    of ODIWORK. I _ATTRIB_MATRIX $
    where IND_UPDATE = 'U '.
    )
    Help, please.

    It simply means that you specified all the columns in your target as key columns data store.
    If you see the request on the operator:

    / * DETECTION_STRATEGY = NOT_EXISTS * /.
    Update MIG_PROF ATTRIB_MATRIX t.
    Set)
         
         
    ) =
    (
    Select


                   
    of ODIWORK. I HAVE$ _ATTRIB_MATRIX S
    where T.BAC = S.BAC
    )

    where (LAC)
    en)
    Select TRAY
    of ODIWORK. I _ATTRIB_MATRIX $
    where IND_UPDATE = 'U '.
    )

    (value =)

    There is no column within the brackets. To do at least a nonkey column in the mapping to use this KM for update.
    Hope that helps

  • How to store field data calculated in a table when a user disconnects?

    Hello

    I have a report with the following SQL statement.
    Past_Due and Task_Count are calculated fields.
    How can I store their data in a table when a user disconnects?

    Select
    p.ID,
    p.Name,
    p.Description,
    p.assigned_to,
    p.start_date,
    p.Finish_Date,
    p.target_date,
    CASE
    WHEN P.target_date < SYSDATE AND P.finish_date IS NULL THEN round (SYSDATE - P.target_date)
    WHEN P.target_date < P.finish_date THEN round (P.finish_date - P.target_date)
    0 OTHERWISE
    END Past_Due,
    p.Status,
    p.updated_by,
    p.updated_on,
    p.Note,
    Count (t.ID) task_count
    pm_project p, pm_task t
    where
    p.ID = t.project_id (+)
    P.id group,
    p.Name,
    p.Description,
    p.assigned_to,
    p.start_date,
    p.Finish_Date,
    p.target_date,
    CASE
    WHEN P.target_date < SYSDATE AND P.finish_date IS NULL THEN round (SYSDATE - P.target_date)
    WHEN P.target_date < P.finish_date THEN round (P.finish_date - P.target_date)
    0 OTHERWISE
    END,
    p.Status,
    p.updated_by,
    p.updated_on,
    p.Note

    -----
    H5. FYI, I am very new to SQL, PL/SQL, and APEX. Would appreciate much more explanation and full path (for example. Shared components > change the security attributes > VPD)

    Hello

    Past_Due and Task_Count are calculated fields and are therefore useless.
    You must not store redundant data (in general).
    Your past_due also uses a reference to sysdate, so the value is today different from tomorrow. You expect the database to change the value from one day to the next?
    So keep the data where it is and display calculated to your users using your query fields (oher options are available, but you already have the request I will not go in the).

    Greetings,
    Roel
    http://roelhartman.blogspot.com/
    You can reward this response in marking it as useful or Correct ;-)

  • insert into the table of GLOBAL of AWT DYNAMICS with passthrough CACHE GROUP 3

    Hi all

    I have AWT DYNAMIC GLOBAL GROUP CACHE table on the customer table


    Relay 3:
    insert into customer values (5, 'US', 'Dublin', 'KkROAD');
    3340: Delete/update/insert/truncate Passthrough of the grid cache tables are not allowed


    but when I insert it to PL/SQL passthrough block 3:


    Start
    insert into customer values (5, 'US', 'Dublin', 'KkROAD');
    end;

    /

    PL/SQL procedure successfully completed.


    record inserted, but I

    1. Select * from customer (passthrough 0)
    can not see the record inserted in Timesten

    2 see the recoerd inserted in oracle

    3. can not insert gives same record in TT agiain .it
    342: introduced key already exists on Oracle or remote node


    is that corect behavior, can tell me

    I need to confirm, but I think that the fact that the Pl/SQL based insert works is a bug; He must also fail with error 3340. I will check into it and get back to you.

    The reason that SELECT * FROM CUSTOMER doesn't nto show the record is this "dynamic load" (extraction of missing data from Oracle) works only when the query contains a key equality predicate on a primary key or foreign defined on one of the tables in the Group of cache (it's documenetd in the cache user guide).

    The reason for which the insertion fails later in TimesTen is that we are to check if the record exists in Oracle (who does) and rejecting the insert (behavior correct and expected).

    It is not clear to me why you would want to use PassThrough to insert a row in Oracle in this case. The idea is surely that you insert the TimesTen online and it gets proagated to Oracle via AWT...

    Chris

  • Table temporary global vs create and drop an ordinary table in pl/sql proc

    Hello!

    I currently have these statements in a pl/sql procedure:

    EXECUTE IMMEDIATE 'drop table tmp_deal;

    RUN IMMEDIATELY.
    create the table tmp_deal as
    Select deal_tracking_num, ins_num, tran_status
    ab_tran t, part p
    where 1 = 1
    AND t.internal = p.PARTY_ID
    AND p.sname in ("SXXX - YY", "ZZZNE - TT","FG - RT")
    and t.MAT_DATE > sysdate - 15 * 31
    AND t.status IN (1,3,4,11)';

    EXECUTE IMMEDIATE 'create index tmp_deal_idx1 on statistics calculation in line of tmp_deal (status, tracking_num);
    EXECUTE IMMEDIATE 'create index tmp_deal_idx2 on statistics calculation in line of tmp_deal (tracking_num, status);
    EXECUTE IMMEDIATE 'create index tmp_deal_idx3 on statistics calculation in line of tmp_deal (ins_num);


    As you can see I am falling and re-creating a table. The table is used as an intermediate storage for a larger SQL following further in my procedure (not shown in this post).

    My question is:
    Y at - it an advantage or a drawback in using global temporary tables (gtt) instead of the create and drop an ordinary table? The table contains about 7000 records and is not needed more once the procedure is complete. The procedure runs once per day, every day of the year

    We are running Oracle 9iR2.

    And finally, please do not look to find errors in SQL statements above. They are slightly darkened and still developing. The basic question is if TWG's benefit to the common way to do it.


    Thank you in advance for your help!

    user7066552, the use of temporary tables may be a necessity in SQL Server and mySQL, but with Oracle and its authors do not block readers reading model consistency using temporary tables as part of the treatment is generally unnecessary.

    A valid use for a table of work could be where you create an operating table that is used to generate reports that are run on demand and several different users need access to the same data. However, you create the work only one table and truncate it prior to restocking rather than drop and it dynamically create. When only the current process will use the data a TWG is the way to go if you must have a table that is "temporary".

    HTH - Mark D Powell.

  • remove items from a table on a user defined range

    Hello

    I am trying to create a Subvi to filter a signal which is stored in a table. I need to remove all the elements that are in a range defined by the user. (something that takes the table, the maximum and minimum and returns the cleaned table).

    I tried to do for a day, but to no avail...

    Can someone help me?

    Thanks in advance

    Eugenio

    Is that what you want?

  • How can I change a Global user in XP to a local profile?

    We close our old domain controller and I have a computer with a CAD user restricted on a Global profile system. I really don, t want to do a fresh install, because it is very expensive.

    Is there a way to change an overall profile of a Local in XP user?
    Thanks for your help

    Hi Claeszum Vohrde,

    Your question of Windows is more complex than what is generally answered in the Microsoft Answers forums as it relates to the evolution of a status of user profile in the field. It is better suited for the IT Pro TechNet public.

    Please ask your question in the Forums Pro Windows XP IT for better assistance.

Maybe you are looking for

  • HP laptop - 15-ac021tx: restore windows 8.1

    Hello I bought a laptop HP laptop - 15-ac021tx, model: M9U62PA. The laptop has preinstalled windows 8.1, but it has not come with a disc 8.1 cd win. I would like to upgrade the system to win 10. But I am worried about some of my software can not coma

  • How to add video someone shared with me in my library on my computer?

    I'm trying to import video, my son took on his iPhone to my MAC Book Air.  I can run to see and play the video under action/activity but cannot import in my Albums.  I use OS X El Capitan, 10.11.3.

  • Highway with GPS Locator 2013

    Hello... Highway 2013 with GPS Locator accepts the format longitude and latitude to find addresses in continental Europe. Also will it store tagged and entered multiple, as does Google Earth in this format? It is my intention to travel throughout Eur

  • downloaded vari giochi not me li apre ad altri funziona me no pole?

    downloaded vari giochi not me li apre ad altri funziona me no pole?

  • installation of the service pack blocking xp

    I received 'configuration error - code purple' and required to perform a system recovery.Restarted with XP SP1... downloaded SP2, but after the installation system crashes and can recover only back up to SP1.I also need to go to Safe Mode to regain p