When is a user created in the table record of $ WWSEC_PERSON?
Hello-We use the OID for our SSO in the Oracle Portal. When we sync-> OID AD, when I ask the portal table $ WWSEC_PERSON and new users are not present. I must go to the Administration page of the portal, one of the users query and define a default group. After this action, they will have a record in the table for $ WWSEC_PERSON.
The reason Im asking we try to automate the assignment of default group using the wwsec_api.set_defaultgroup api, but because these users are missing from the table of $ WWSEC_PERSON, they have obviously not possible to assign a group.
Is there a way to force new users in the portal DB table? At all automated type of assignment?
Thank you
Brian
I found this ODS. DS_ATTRSTORE comes in very handy to query OID using SQL data. There are several records attribute for each entry. The "uid" attribute contains the user name and "createtimestamp" contains the timestamp for when the user has been created in OID after being synced from AD. The attribute "orcldefaultprofilegroup" stores the default portal for the user group too.
Tags: Fusion Middleware
Similar Questions
-
Exception of null on the list pointer implementing values when there are n rows in the table
Hi Experts,
I use JDev 11.1.1.7.
I have a VO that I defined a LOV with no search box. In my page, I've added it as af:inputListOfValues, but when there is no rows in the table that I will meet with NPES
< AdfcExceptionHandler > < handleException > ADFc: when Manager application exception exception handling threw a new exception.
java.lang.NullPointerException
at oracle.jbo.uicli.binding.JUCtrlListBinding.findOrCreateLOVDialogIteratorBinding(JUCtrlListBinding.java:5188)
at oracle.adfinternal.view.faces.model.binding.FacesCtrlLOVBinding.getSearchBinding(FacesCtrlLOVBinding.java:204)
to oracle.adfinternal.view.faces.model.binding.FacesCtrlLOVBinding$ ListOfValuesModelImpl.getSearchRegion (FacesCtrlLOVBinding.java:2001)
to oracle.adfinternal.view.faces.model.binding.FacesCtrlLOVBinding$ ListOfValuesModelImpl.getQueryModel (FacesCtrlLOVBinding.java:1612)
to oracle.adfinternal.view.faces.renderkit.rich.SimpleInputListOfValuesRendererBase$ InternalLaunchPopupListener.processLaunch (SimpleInputListOfValuesRendererBase.java:1560)
at oracle.adf.view.rich.event.LaunchPopupEvent.processListener(LaunchPopupEvent.java:108)
Excerpt from JSFF:
< af:inputListOfValues id = "xxx" popupTitle = "" search and select: XXX ""
simple value = "#{pageFlowScope.SearchBean.xxx}" = 'true' "
model = ' #{bindings. " XXXLOV.listOfValuesModel} "columns ="30"
searchDesc = "Select XXX" >
< / af:inputListOfValues >
PageDef:
< listOfValues StaticList = 'false' use = "LOV_XXX".
IterBinding = "XXXIterator".
ID = "XXXLOV" / >
Is - this bug?
Surprisingly, it works very well if there are lines in the table that the VO is querying.
-Soham
Soham,
I think you just create this LOV page by simply moving the VO, right?
You can select the box to tick 'Include no. Selection' in your VO, and see if that helps?
See you soon
AJ
-
How triggers can be created in the table?
Hi all
How triggers can be created in the table?
is 12 or as far as we can?There is no technical limit to the number of triggers you set (or, at least, not one that any rational person has never touched). He usually would not make sense to have more than one trigger of a given type on a particular table, even if you can come up with situations where you can have multiple triggers of the same type on a single table.
Normally, when people ask this question, it is because someone (foolishly) he asked in an interview. Frequently, the interviewer is trying to determine if you know how many types of triggers there is no if you know if there are some esoteric limit on the number of triggers.
Justin
-
g 11 default password for users created in the IOM Web Console?
Hi all
I currently have a problem with putting in password of default user in OIM 11 g.
First, what is the password by default when a user form is filled out with empty password section?
Second, I tried to use entity prepopulate adapters, adapters, etc., but I can't seem to find a way to set the default password for a user created by the Web Console of IOM.
If anyone knows how to do this, could you explain how to accomplish (one point to appropriate documentation would be greatly appreciated, too).
Thanks for all the help in advance!Hello
You have several options:
First of all, you cannot create a user without password unless you have an id valid provided e-mail. At least provide a manager who has a valid e-mail id. In these cases, password is automatically generated and will be sent.
1. the user event handlers. (Post processing event handler). This approach works for both manually created users and reconcile trusted users. It is more of a 11g and a recommended method.
Reference: http://download.oracle.com/docs/cd/E14571_01/doc.1111/e14309/oper.htm#OMDEV3085
[7.2 extension user management with event handlers operations]2. to reconcile users, you can also use the task process and set password to users when reconciliation insert received. It comes in a conventional way.
Concerning
user12841694 -
NULL pointer exception when you try to navigate to the next record
Dear members,
I have an OFA Page for which I have attached a CO and I am.
This OAF page main and detail records.
Main folders are coming from an array of headers. Detail records are coming from an array of LINES.
Once the page opens, a master record and its corresponding detail records are displayed. On the page that I have a next button.if that user clicks the next button, next master file and its corresponding detail records should appear.
The code I wrote is satisfying the requirement above but when the user comes from the last record and click on the next button, an EXCEPTION of the NULL POINTER is thrown.
Code in my AM is as follows:_
Public Sub findNextRec()
{
String headerID = null;
If (Headers_VO1 () .getFetchedRowCount () > 0)
{
headerID = getHeaders_VO1 () .next ().getAttribute("HeaderId").toString ();
If (headerID! = null & & "".equalsIgnoreCase (headerID))
{
getLines_VO1 (.setMaxFetchSize(-1));
getLines_VO1 () .setWhereClause (null);
getLines_VO1 () .addWhereClause ("header_id in (: 1)" ");
getLines_VO1 () .setWhereClauseParams (null);
getLines_VO1 (.setWhereClauseParam(0,headerID));
getLines_VO1 () .executeQuery ();
}
}
on the other
{
throw new OAException (' to the last Record,"OAException.CONFIRMATION");
}
}
_ Code in my CO
In my co process form request, I have the following code:
If (PageContext.GetParameter ("Next")! = null)
{
am.invokeMethod ("findNextRec");
}
Kindly please help me to solve this error. Thanks in advance.
Best regards
Arun D. Reddy
Published by: Arun Reddy on January 28, 2011 10:03Arun,
I don't know that you should get the error on line
headerID = getHeaders_VO1 () .next ().getAttribute("HeaderId").toString ();
To do this, divide the likme statement
Line = getHeaders_VO1 () .next ();
if(Row!=null)
{
headerID = row.getAttribute ("HeaderId") m:System.NET.SocketAddress.ToString ();--
--
}Thank you
With respect,
Kali.
OSSI. -
How can I insert the apex user id in the table when connecting?
Hello
I created a database with SSO on application. As you know because, single-sign - on my users don't need to enter name of user and password to log into the application. When a user in my application login ID (email add) automatically appears in the upper right automatically. My question is how can I capture user ID in the user's my table when a connection of the user in the application?
Appreciate any help.
Thank you
Mohammad
Maybe my solution:
1. Application-shared logic components, you have processes of the article.
2. create processes with process Point: on the new Instance and text:
declare l_exists integer; begin select count(*) into l_exists from user_objects where object_type = 'TABLE' and object_name = 'AUDIT_USERS' AND ROWNUM=1; if l_exists = 0 then execute immediate 'CREATE TABLE AUDIT_USERS (WHEN DATE, USER_NAME VARCHAR2(30) )'; end if; insert into AUDIT_USERS values (sysdate, v('APP_USER')); end;
Concerning
Ziut
-
for relaxation: where is the table created by the Wizzard users create in the APEX?
Hello everyone and Tony in particular since it was followed and mentoring my progress on this.
Well,.
Here we have 2 things:
(1) when the wizzard of Administration > database > manage users creates a user. Where is the table it creates? What name does have? Why is it not visible in the object browser? I need the name of this table to put it on my trigger (I called users_table)
(2) how to do that whenever a user connects, his formerly generated by the trigger sequence is used by a State to extract personal data (it's sort of VPD) in this case would be, how do you know what surrogate key, we need to call. To do this, I think, the thing would be to request the: = APP_USER (that was created in step 1) and each APP_USER will surrogate that are associated with this key.
I set up a simple trigger, but just the substring of the concatenation of the given username, the system randomly generated pwd up to 12 characters.
CREATE OR REPLACE
GENERATE_SEQUENCE RELAXATION
AFTER INSERT ON USERS_TABLE
FOR EACH LINE
BEGIN
insert into users_table (surrogate_key)
values (SUBSTR (¦¦ username password), 1.12);
END;
but as I said, this users_table must be the table where the wizzard to create users stores its data,... .but where is this table?
Thank you very much
Alvaro
Published by: Alvaroe on February 6, 2010 09:13
Published by: Alvaroe on February 6, 2010 10:00Hello
(1) create a table and then start filling in
I think you need to have a custom table of your patients (and users), say,
CREATE TABLE patients ( "USER_ID" NUMBER, "USER_NAME" VARCHAR2(100 BYTE), "FIRST_NAME" VARCHAR2(100 BYTE), "LAST_NAME" VARCHAR2(100 BYTE), "PASSWORD" VARCHAR2(4000 BYTE), "CREATED_ON" DATE CONSTRAINT patients_PK PRIMARY KEY ("USER_ID") );
you need to build customized in your appl authentication and do not use the Apex or Db authentication.
To do this, you must do this table in the schema that is used in the analysis of your application's schema.
And you need create the function custom_hash like this:create or replace function custom_hash (p_username in varchar2, p_password in varchar2) return varchar2 is l_password varchar2(4000); l_salt varchar2(4000) := '55PSP4P78JLDQ2AMBXQ60DW9OW7G9Z'; begin l_password := utl_raw.cast_to_raw(dbms_obfuscation_toolkit.md5 (input_string => p_password || substr(l_salt,10,13) || p_username || substr(l_salt, 4,10))); return l_password; end;
(2) then build the trigger when it detects that I completed a line
It generates this sequence AND inserts it into another table (as you say, I could not put it in the same table)users must register themselves?
Or register?
Then you must create the free registration form or a form where you fill in your table above users.I think that your user_name must be unique. Put a Unique about this strain.
When creating the patient button is pressed, then the above table is filled (you must and name, user in the form fill password)
You must calculate USER_ID, user_name, password and created_on, this can be done in the triggercreate or replace TRIGGER patients_trg_bi before insert on patients for each row begin if :NEW.USER_ID is null then select patients_seq.nextval into :NEW.USER_ID from dual; end if; if :NEW.CREATED_ON is null then :NEW.CREATED_ON := SYSDATE; end if; if :NEW.USER_NAME is null then :NEW.USER_NAME := :NEW.LAST_NAME || :NEW.USER_ID; end if; :NEW.PASSWORD := custom_hash(:NEW.USER_NAME, :NEW.PASSWORD); end;
you create the sequence of patients_seq
In this case the surrogate key be hashed password.
And you can use it by selecting table using patients: APP_USER
that is when the user is connected to his USER_NAME, variable APP_USER is filled(3) then, the SQL query would recover this surrogate_key and show as connected individual data.
Yes, when the user logs on, the key is populated by users based on table: APP_USER
usingselect password from patients where user_name = :APP_USER;
You must understand how EVP can be implemented at the Apex.
You can use any application for this SURROGATE_KEY say
which is calculated by Application of calculation on the new Instance
4) but in order to know what to ask, surrogate key should be a key with the substitution APP_USER connection
is that correct?
Yes. You have the info from the users table
Do you have examples of Applications Apex somewhere.
If you use Apex 2.1, you can install it from the repository and if you have 3 Apex, they are normally automatically installed if you create the new workspace.You can use it a lot to manage users.
Concerning
OlegBTW,
Alvaro,
Yo have your appl?
If you sent your Db and tables all the Pl/SQl, as well as application Apex, you have for me by email, I can check and make/suggest improvements
(For free, of course)
I need to check what you did there, otherwise it seems to be a very long subject.
Well, I have the time to discussYes, you can make the trigger like this
CREATE OR REPLACE
GENERATE_SEQUENCE RELAXATION
AFTER INSERT ON USERS_TABLE
FOR EACH LINE
BEGIN
insert into GENERATED_SEQUENCES_TABLE (lastinserted_name, surrogate_key)
values (SELECT name from USER OF USERS_TABLE WHERE USERID..., SUBSTR (lastinsertedname¦¦ password), 1.12);
END;but where the values are made here
SUBSTR (lastinsertedname¦¦ password), 1.12Published by: oleg.lihvoinen on February 6, 2010 14:55
-
Trigger newbie question: when to start a fire on the table so insert same owner?
Let's say I have an owner/schema called JIM that contains a table named MYTABLE. The owner (Jim) is the only person to change this pattern, although many may view the tables it contains. I have a trigger in the scheme which is triggered when this table has been updated. It begins with:
create or replace
inside a stored procedure in this scheme, I add a new line to MYTABLE. I do then some other stuff before committing.
TRIGGER MYTRIGGER after INSERT or DELETE on MYTABLE
create or replace procedure MYSPROC()
QUESTION: The trigger fires immediately after the line of code above insert statement? Alternatively, it will pull after that the first statement commit located after the line of code above insertion? Why or why not?
...
insert into MYTABLE (item_number) VALUES (12345);
...
...
commit;
end MYSPROC;
I'm confused because the owner JIM has all the tables, procedures and triggers. Thus, when the procedure is run and the line is added to the table, the trigger (also owned by JIM) should be able to see this change, even though it may be in a different session. So I think the trigger would execute as soon as the line is inserted. Is this fair? If not, what missing am me?
UPDATE: note that the stored procedure that is mentioned here is outside the above trigger.
Published by: tem on April 17, 2012 11:48>
I understand that different users cannot see changes made by the other user, until the user issues a commit.
>
Is no sound like you understand.The 'user' has nothing to do with it. Replace the word "user" "session" in the above statement and you'll have it correct.
We're not your 'thinking '.
-
The user cannot see the tables
Hello world
I have a form where I can see all the data, run a query, but today, I created a new user, but when I run the same form, I'm not able to see all the data. Also, I went to sql and connected with the Preobrajensky of this user and when I run the following:
I'm not able to see the tables I created with the other user.Select * from cat;
Can someone help me please?Yes, grants and synonyms must be done for each table.
-
Problem with the role and the user; the user cannot see the table
Hello forum,.
I created a role:
Enr_service CREATE ROLE;
GRANT CONNECT TO enr_service;
GRANT ALL ON tenants TO enr_service;
GRANT ALL ON enr_service TO user;
GRANT ALL ON sportsmen TO enr_service;
GRANT SELECT ON test TO enr_service;
and also a user:
CREATE USER ENR1 IDENTIFIED BY password QUOTA UNLIMITED on USERS;
GRANT enr_service to ENR1;
ALTER USER ENR1 by DEFAULT ROLE enr_service;
ALTER USER DEFAULT TABLESPACE USERS ENR1;
I can connect to the database with this user, but when I try to query a table that has been granted access I get an error message:
SELECT * ATHLETES;
ORA-00942: table or view does not exist
I don't see what I did wrong. Any help is appreciated.
Sebastianuser2019788 wrote:
Hello forum,.I created a role:
Enr_service CREATE ROLE;
GRANT CONNECT TO enr_service;
GRANT ALL ON tenants TO enr_service;
GRANT ALL ON enr_service TO user;
GRANT ALL ON sportsmen TO enr_service;
GRANT SELECT ON test TO enr_service;and also a user:
CREATE USER ENR1 IDENTIFIED BY password QUOTA UNLIMITED on USERS;
GRANT enr_service to ENR1;
ALTER USER ENR1 by DEFAULT ROLE enr_service;
ALTER USER DEFAULT TABLESPACE USERS ENR1;I can connect to the database with this user, but when I try to query a table that has been granted access I get an error message:
SELECT * ATHLETES;
ORA-00942: table or view does not existI don't see what I did wrong. Any help is appreciated.
Sebastian
This is probably because ENR1 isn't any table named ATHLETES and he did not qualify the name of the table with the schema name...
-
I want to allow users to update the table through Web pages, but not directly
Hi guys,.
I have a question. There is a Web page that people are going to and through that they get into stuff and delete stuff. Therefore, it must be select, insert, delete and update on the table. Because they can only do so via the buttons on the Web page, they are not able to remove the other stuff of users.
However, nothing to prevent them from being able to connect via sqlplus say and removing stuff directly in the table. How to work around this problem?
Thank youOracleGuy777 wrote:
(1) for the joint account, everyone will still be need to know the password, Yes? Otherwise, how would they be able to connect? If they need the password, what is to prevent them from logging in via sqlplus using shared account and then delete stuff?N ° the password on behalf of shared database would not be known by users, it could just be stored on the server somewhere intermediate (intermediate level different servers have different options for storing secure passwords on the middle tier). Then create you users of the application (i.e. an array of USERS with a user_name and a hashed_password column) and do check this hash name & password of the user when the user tries to log on by your application.
(2) Let's say I control access via a stored procedure and call it my request. users can still connect via sqlplus and call him too much, they don't? so removing the stuff?
Yes, if your users have a data account, and this account has access EXECUTE on the stored procedure, they could connect through SQL * more and run it. If you gave them permission to delete a particular entity, however, why is - this important if they do it through your app through SQL * Plus, or via another utility? If you put the logic for change, to verify that the user is allowed to delete the particular line, etc. in the stored procedure, the audit security implications should not depend on the front end.
Justin
-
CreateInsert operation creates only the first record in a table
Hi experts,
I use Jdev 12.1.3 and Alta UI, and I have a table with a button that calls the CreateInsert operation:My problem is that only the first record is created. If the user presses the button twice or more, new records does not appear.
<af:panelCollection id="pc1" styleClass="AFStretchWidth" featuresOff="viewMenu detach"> <f:facet name="toolbar"> <af:toolbar id="t3"> <af:button actionListener="#{bindings.CreateInsertTonYear.execute}" text="Add New Record" id="b1"/> </af:toolbar> </f:facet> <af:table value="#{bindings.HbtProductTonsYear.collectionModel}" ... partialTriggers="::b1" > ... </af:table> </af:panelCollection>
Any ideas?
Kind regards
Jose.
Try to make the button refresh panelCollection (set panelCollection partialTriggers ID button)
-
IOS XR. When absolute refpoint is created in the primary persistent configuration file?
Hi all
Can someone help me understand during the creation of the absolute refpoint and what determines that a certain place in the persistent configuration file becomes an absolute refpoint?
The foundations of the IOS XR States that 'an absolute refpoint is the configuration of the router at any given time. Engage
"refpoints are the files of different validation that are created for each commit. But at what point? I would like to know that in the case for example to do a restore to find out where my absolute point (namely the IOS will be restored when starting) vary his place in the persistent config or not?Thank you!
Hello vadym,.
feels to me that it is a little more complex way to explain the validation database in this book.
every time a commit is done, the configuration of this set is stored as an id validation (or label if provided). This gives then a check point in time which allows you to return to for example.
the validation database can contain 100 changes.
the complete configuration is always available at sysdb. (the database system).
Cheers!
Xander
-
Paragraph style by default when you add rows/columns of the table
Hello
I use InDesign CC and whenever I add a new row in the table or a column, that paragraph for these lines styles are in default in the styles I won't use. They are actually failed to really big styles title so I don't just add lines 3 and 4 and my table is out of the page. None of the surrounding cells, columns or lines contain the ID styles is emphasizing the use.
How can I set the default style for a new row in the table or column?Thank you
Paul.
Hi, thanks for the help guys. I tried your suggestions but I always had the same problem. However I noticed that when the model documents have been opened there were styles by default selected in all the style panels. It seemed that it was these styles by default selected which were applied to new rows in the table.
I opened the templates and all the panels style [none] or [standard paragraph], then saved the document.
This solves the problem because no style is now applied when rows are added.
-
Remove a line in the user interface of the table of the adf
I have a table of ADF, displaying the data I need to filter. Basically there is a column that indicates whether it should be displayed or not. Unfortunately, the query runs very inefficiently when a variable binding is applied on it. Therefore, I would like to return all the lines to the UI and then simply not display a line if it does not meet the criteria.
Is there a way to do this? I looked at the table component, but I saw no way to get there.
Thank youHello
the table does not allow you simple to hide the lines in this way. You wonder what makes the variable binding working slowly in your case. I think that adding a view criteria to the query that form you with a variable binding should run as fast as it does in SQL Plus.
Frank
Maybe you are looking for
-
How to customize Page tile (which is this page) to switch to a folder?
I love how the Page tile seems characteristic ("what is this page"). But I rarely use it because it auto-remplit with URLS (more visited or recently) I've already sorted in my bookmarks in folders and in the bookmarks bar. I don't have a screenshot o
-
Mounting clip auto adjustment position
Hi guys,. I have a pretty simple question, and I'm sure it'll be a simple answer. I'm not sure what I've done, but so far I could cut a clip on the timeline and the clip after that it would automatically move at the end of the one I had just trimmed.
-
Problem with button 'Load' and Boolean reset
Hello... I've built a simple VI to load a file ascii with 100 values, split the file into 4 segments (overlap of 50%) and perform the calculation of the SUM of the segments. Each segment is represented by a graph and has a LED that, when is ON means
-
Problem with the display of a video frame in Windows Media Player 11 on Vista
Hello I am having some problems with the Windows Media Player 11 on Vista. On my XP machine, when I discovered a video frame by frame, it works perfectly back and forth. However when I try to play the same video on my Vista machine, the button to the