Create user record on first login

Hello,
My ADF app is protected by Oracle SSO.
I want to enrol a user in my app, by creating a record in a table, the first time they login. I'd then like to present a welcome page for this first visit.
I looked in adfc-config for some kind of default activity or interceptor, but could not find anything.
Suggestions very much appreciated.
Many thanks.

Hello,
Please state your Jdeveloper version.
I would expect that you would have a login page and then the second page (which contains the data tables) on your taskflow. Read about bounded and unbounded flows here:
http://docs.oracle.com/cd/E17904_01/web.1111/b31974/taskflows.htm
Set it up so you have the login page on the flow, and the second page on the flow.
From the data control select the view object that the second page references. Find the createinsert method. You can drag that onto the taskflow. Then draw control flow from the login to the method, and from the method draw another control flow to the second page.
The user will login, press enter, and the createinsert method will fire. Then you will be directed to the second page where the data resides. You may need to configure a view criteria also so that you can filter the records specific to this particular user.
There are some videos on the subject here: http://www.youtube.com/playlist?list=PLE9A3CFFD4510ADA0
Stuart
Edited by: Stuart Fleming on Sep 26, 2012 6:16 AM

Similar Messages

  • Changing user password on first login

    Hi all,
    I'm using a customised login panel on my external facing portal homepage. I have changed the look and feel of default sap login screen by modifying the logon.par file.
    Now, I want to replicate the standard portal scenario. When an user logs in for the first time then a change password screen should be displayed (same as when we create a new user and log-in to the portal).
    The problem as of now is that when i create a new user through user management and try to login to my external facing portal using this user id then it doesn't login nor it shows any error messages nor any password change prompts.
    Please help me in this regard.
    Thanks,
    Prasanna

    Hi Prasann,
    It great that you have modified the Login par but have to done the necessary changes , refer to this weblog
    Modifying The Logon Par(or customising the Logon Screen)
    for changing Password at first login
    Start the Config Tool C:usrsap<SID><instance>j2eeconfigtoolconfigtool.bat
    Ex: D:usrsapF02JC00j2eeconfigtool --> configtool.bat
    Navigate to  cluster-data --> Global server configuration --> services --> com.sap.security.core.ume.service
    Look for the  property "ume.logon.security_policy.password_change_allowed = TRUE"
    Save & Restart the J2EE engine.
    Thanx
    Pankaj

  • Start systemd --user once after first login, not per session?

    Hey guys,
    So I've been toying around with using systemd to manage user daemons and some oneshot processes, it seems like it could be really nice
    Here's what I'm thinking I would like to do:
    I would have two user targets, `console.target` and `graphical.target`.
    The console target will start things like pulseaudio, ssh-agent (envoy), transmission, stuff like that.
    The graphical target will start xorg and then other things like the WM, set the wallpaper.. you get the idea. Obviously the graphical target will want the console target.
    Now, the part I wanted to get some feedback on is this: I would like a systemd --user instance to only be started once after my first login, not once per session.
    So for example, I login from vt1 and it brings systemd --user up to the graphical.target. Then if I later SSH in from somewhere, it won't start a new systemd --user session (Ie, won't start pulse-audio, transmission-daemon, etc).
    However, if I haven't logged into my machine yet and I SSH in, it will start up systemd --user and will start the console.target. If I then later login via vt1 it will see that there's already a systemd --user session started and start the graphical.target
    Does this make sense? Is it a bad idea?

    You could make a column in the database, and when the
    information is set (emailed) make the value to be 0, then when they
    first register use a IF recodset("column_name") = 0 Then
    reponse.redirect("filloutpage.asp") end if, then when they fill out
    the info have a hidden form field thats updates the value to 1. on
    the login page after the first if make another IF
    recordset("column_name") = 1 Then response.redirect("index.asp")
    end if.
    i have forms that have three different redirect based on user
    input, and you could do the same thing you could add the one for
    the first time to dw made code, here is an example, you could
    change the request.form to a recordset value and it will work.
    If Request.Form("select") = "Self" Then
    MM_editRedirectUrl = "FridaySchedule.asp"
    Response.Redirect(MM_editRedirectUrl)
    End IF
    If Session("MM_AdminEdit") = "True" Then
    MM_editRedirectUrl = "FridayScheduleAdmin.asp"
    Response.Redirect(MM_editRedirectUrl)
    End IF
    MM_editRedirectUrl = "FridayScheduleDept.asp"
    If (Request.QueryString <> "") Then
    If (InStr(1, MM_editRedirectUrl, "?", vbTextCompare) = 0)
    Then
    MM_editRedirectUrl = MM_editRedirectUrl & "?" &
    Request.QueryString
    Else
    MM_editRedirectUrl = MM_editRedirectUrl & "&" &
    Request.QueryString
    End If
    End If
    Response.Redirect(MM_editRedirectUrl)

  • 9i export file into 11GR2 - import full db or create users, roles.. first?

    I'm moving several 9iR2 databases onto new hardware with 11GR2 64bit.
    One of them has only a couple of users, roles etc. so I pre-create all the tablespaces, users, etc. then import with 11G imp utility using fromuser=user1,user2 etc. in the parfile.
    Another has an application front end that creates a database user for all the application users, and assigns certain roles etc. So I have dozens of users on this database, along with various roles as well. I'm wondering what the best way to approach this one is, so I'm thinking:
    Do I do a import full=y, and let the import create all the users roles etc. ? *I already pre-created all the tablespaces when I created the empty database with DBCA
    Do I generate the ddl for all the users and roles, run it on the new db first, then import with fromuser=user1,user2..?
    Do I import full=y for trial run, then when ready to import final production data, drop users that have data with cascade option, recreate these users and import their schemas only?
    Keep in mind that I am doing several "rehearsals" on this, importing from full exp files on the current production database, for users to test the app against and also to debug my import commands,scripts etc. so this will be a one command process when I am ready to do the final import.
    I'm asking all of this because I'm wondering if its just ok to do full=y when upgrading, (I usually don't)
    I'm assuming all the system etc. tables in the 11G are just left alone when ignore=y parameter is used.

    I tried importing the full database from the 11G gui's import from export files option, but it kept failing, so I imported just the schema's I wanted. That worked ok, and all the database users accounts and roles were also imported, not sure how that happened or if it was when I attempted the full import. In any case I got the database schemas I wanted over, but noticed a lot of invalid views that would not compile, so a further check showed that none of the applications public synonyms came over. Running a simple create script on dba_synonyms on the prod database fixed that and its all good now, but I'm wondering why the synonyms never came across with the import?

  • Creating user using database link

    Hi
    I have 11g installed on one of the server
    I have created the database link BUGAU to bugau.us.oracle.com
    link works fine
    select * from table@"Bugau" gives the expected result
    I need run the below statement from my server using the dblink.but not sure how to use the dblink for this purpose.Please assit
    CREATE USER ABC IDENTIFIED BY welcome DEFAULT TABLESPACE USERS_001 TEMPORARY TABLESPACE temp123;
    GRANT DEFAULT TO abc;
    ALTER USER abc PROFILE LEVEL_1;
    Thanks
    Archana

    as mentioned in oracle documentation for db link purpose: you can use it for accessing schema objects in remote database..
    http://download.oracle.com/docs/cd/B28359_01/server.111/b28286/statements_5005.htm
    >
    Use the CREATE DATABASE LINK statement to create a database link. A database link is a schema object in one database that enables you to access objects on another database. The other database need not be an Oracle Database system. However, to access non-Oracle systems you must use Oracle Heterogeneous Services.
    After you have created a database link, you can use it in SQL statements to refer to tables and views on the other database by appending @dblink to the table or view name. You can query a table or view on the other database with the SELECT statement. You can also access remote tables and views using any INSERT, UPDATE, DELETE, or LOCK TABLE statement.
    >
    For creating users, you have to login to the remote database itself, You also need to login using the user who has the necessary credentials to create the user.
    Regards,
    Dipali.

  • First login of the day.

    Hi everybody, How can I know if the actual login of a user is the first login of the day?
    Regards,

    in STAD you can check the client, user and tcode 'session_manager'... get the lowest time of that date..
    ==>for this you can SUBMIT RSSTAT26...
    now from usr02 you can get the last login..(current login)..
    =>use FM or normal select statement..
    compare these..
    Edited by: Soumyaprakash Mishra on Dec 28, 2009 7:29 PM

  • Is there a way to create user logins or some other way to ...

    Is there a way to create user logins or some other grouping for a set of applications to use (memory) resources optimally -- for example only mail and Safari and Word in one grouping and another for Safari and an audio recording application, etc.?

    It is possible to use Parenal Controls to limit which applications can be used be a particular user account.
    But it's not really necessary as far as managing memory.
    Matt

  • Generate User Login in "Create User" Request

    Hi Guys,
    I have more a problem. To create user, I am using a Request (Create User Template), I managed add the attributes that would necessary normally, but I use a Event Handler (Post-Process) to generate user login. So I marked the User Login in Attributes Restrictions, fixing an user login default for example: autogenerate.
    Then I created a new request to create user, I filled out all the fields that I marked to appear. I approved this request, and the user is created with the User Login generate by my Event Handler normally. The issue is, when I create 2 create user requests, as I use a Default value in the User Login attribute, if the first request still isn't approved, the second request isn't created because the "autogenerate" user login already being used.
    Exists some otherwise to I resolve this issue?
    Thanks

    Hi Bikash,
    Use a prepopulate adapter an attribute with timestamp is nice idea, but I use the "Create User" template CreateUserDataSet.xml and not exists a form in Design Console to associate the prepopulate adapter.
    I had thought in eventhundler because I use a method that check on Active Directory if the user login generated by other method, already is being used. And I use this eventhandler in HR GTC recon too.
    About XL.LDAPReservationPluginImpl, I opened the oracle.iam.identity.usermgmt.impl.plugins.reservation.ReservationInOID but I not understood as use this option. If I needs add in this class my method of generate user login. If I needs implement an new class similar to this class, using my methods and associate the name of class in XL.LDAPReservationPluginImpl.
    Thanks a lot

  • Access denied on first login, then it lets the user in (Fedora Core 5)

    I am getting the message "Access denied by Application security check" the first time I login to the db (dba privs.) from a remote machine. Then I click the link to return to the application and log in again. This time it will let me in. Then I close the browser, open back up and it does the same thing. After doing this a few times it lets me in w/o the message until I rebooted, and then it starts the message again (I rebooted both the server and the client come to think of it). At any rate it is installed on FC5, which I am a little green on, however I did somehow manage to get this far.

    Here is a way to design for scheduler running:
    Import-Module ActiveDirectory
    $path='\\UNCLocation\devshare\*'
    $addn = (Get-ADDomain).DistuinguishedName
    $defaultLocation="OU=Homeless,$addn"
    $dnsroot = (Get-ADDomain).dnsroot
    $log = "C:\Path\To\errorlog.log"
    $enabled=$true
    function Logit($type='INFO',$msg,$p1,$p2){
    $text=('[{0}][{1}]{2}[{3}|{4}]' -f [DateTime]::Now,$type,$msg,$p1,$p2)
    Write-Verbose $text
    $text| Out-File $log -append
    Function Create-Users{
    [CmdletBinding()]
    Param()
    Get-ChildItem $path -Include *.csv |
    ForEach-Object {
    $nu=Import-Csv $_
    $sam = $_.FirstName.substring(0,1).ToLower() + $_.LastName.ToLower()
    if(!Get-ADUser -LDAPFilter "(sAMAccountName=$sam)")
    Logit -msg 'Creating user' -p1 $sam
    $setpass = ConvertTo-SecureString -AsPlainText $_.Password -force
    $userprops=@{
    SamAccouontName=$sam
    GivenName=$_.FirstName
    Initials=$_.Initials
    Surname=$_.LastName
    DisplayName=($_.LastName + "," + $_.FirstName)
    UserPrincipalName=($sam + "@" + $dnsroot)
    OfficePhone=$_.Number
    AccountPassword=$setpass
    Enabled=$enabled
    Path=$defaultLocation
    $location = $_.Department + ".$($addn)"
    If ([adsi]::Exists("LDAP://$($location)")){
    $userprops.Path=$location
    Logit -msg "User $sam will be created inctarget OU:" -p1 $location
    }else{
    Logit -type ERROR -msg 'Target OU not found. User will be created in default'
    New-AdUser @userprops
    Logit -msg 'Created new user:' -p1 $sam
    }else{
    Logit -type ERROR -msg 'Username already exists' $sam
    Create-Users -Verbose
    The code loops through all CSVs found.  If you run it in the scheduler every 2 or 3 minutes it will be pretty fast.
    You will need to add a layer of error handling and logging to get it to work smoothly.
    ¯\_(ツ)_/¯

  • Restricting User from creating new records using when-validate-record

    Hi,
    I have a requirement for which I have to restrict he user from creating a record in the Supplier Master form if the suppliier type is 'Affiliate Supplier'.
    I have done the following setups
    Seq 10
    Description Restricting user from creating Affiliate records
    Level Function
    Enabled Yes
    Condition:
    Trigger Event WHEN-VALIDATE-RECORD
    Trigger object VNDR
    Condition "${item.VNDR.VENDOR_TYPE_DISP_MIR.value} is NOT NULL
    and
    ${item.VNDR.VENDOR_TYPE_DISP_MIR.value} LIKE 'Affiliate%'
    Processing Mode BOTH
    Context
    Level User
    Value User Name
    Action Sequence 1
    Type Message
    Action Description Saving Affiliate record
    Language ALL
    Message Type Show
    Message Text You Cannot Create Affiliate records Here
    Action Sequence 2
    Type Builtin
    Action Description Stop Proceesing
    Language ALL
    Action Enabled Yes
    Builtin Type RAISE FORM_TRIGGER_FAILURE;
    This is working good on one instance but when I moved it to another instance
    when I query the form and try to navigate to the bank accounts tab of the form which is based on a differnt block i.e VNDR_USES block, the when-validate-record trigger fires there also and stops the processing.
    Any suggestions on this would be higly appriciated.
    Thanks in Advance.

    Hi Srini,
    Yes, it does work...but in a Form Session if i Create more then one Item, in some cases it fires for the first records and not sleeps for the second.
    Sometimes it doesn't give any response.
    Appreciated if you divert to the link to check the Pacthes for 11.5.10 on Form Personalization.
    Please share any ideas/example if yiou have to achieve the below requirement.
    Requirement:
    Once New record is created , a Custom Procedure should be invoked.
    with out closing Form i am able to create n number of Items, so for every Item it should invoke Custom PLSQL Code on Save.
    Let me know if i can achieve the same in Custom.pll .....as i can use either of Options.(Form Personalization/Custom.pll)
    Thanks & regards,
    Edited by: user632004 on Mar 16, 2010 7:50 PM
    Edited by: user632004 on Mar 16, 2010 8:09 PM

  • A login webpage gives the message "This script requires that jquery.js be loaded first." then will not show the user ID and password login boxes. How can this be corrected?

    A login webpage gives the message "This script requires that jquery.js be loaded first." then will not show the user ID and password login boxes. How can this be corrected?

    That message is listed in two scripts on the bank's site. One function that can display the message is named PhotoRotator and the other is named PromoRotator. However, I can't seem to trigger the error myself.
    If you have any add-ons that alter the page, such as ad blockers, try creating an exception for these sites and see whether that helps:
    www.northrim.com<br>
    www.northrimbankonline.com
    You also could try this logon page: https://www.northrimbankonline.com/onlineserv/HB/Signon.cgi
    (''Obviously you should be cautious about links offered on public forums to ensure you are not being phished! Check them out carefully before entering your username and password.'')

  • Allow a user to create/change records in 2008 R2 DNS

    Hi,
    We currently have a 2008 R2 domain with two AD servers running DNS. I want to grant permission to a regular user to be able to create/modify records on the DNS server for the primary domain (company.com).
    I have done some reading but everything keeps pointing to a zone delegation, which sounds overly complex and I am not sure it is what I want to do (I don't want a sub-domain).
    I think the DNSAdmins group will give them too much control over the server (change forwarders, etc..).
    I somehow managed to do this on a 2003 server DNS setup, but when I look at the security tabs for both the domain and the server, I cannot find any mention of the user who is able to create records, so I am not sure what I did to get this working.
    Can someone please clarify how I might be able to go about accomplishing this task.
    Thanks in advance!

    I think the DNSAdmins group will give them too much control over the server (change forwarders, etc..).
    Create a custom MMC snapin and assign related permissions. The picture below may give you an idea:
    Mahdi Tehrani   |  
      |  
    www.mahditehrani.ir
    Please click on Propose As Answer or to mark this post as
    and helpful for other people.
    This posting is provided AS-IS with no warranties, and confers no rights.
    How to query members of 'Local Administrators' group in all computers?

  • Users created in ABAP tool cannot login to Portal

    Hello,
    I have created a user in abap and assigned them the role SAP_J2EE_ADMIN but cannot login into Portal (Message: User authentication failed) with that user. If I login to portal as J2EE_ADMIN and search for that user I get "No element found." Is there something that needs to be done to get users into Portal? Does authentication not occur against the abap system? Also is the J2EE_ADMIN user only valid within portal and not the abap backend?
    I am using EP7.
    Thanks for any help.

    Hi Kelly,
    I changed it under System Administration>>System Configuration>>UME Configuration>>ABAP System tab. If you read ealier in this thread however, I could not restart the j2ee server after that....so change it at your own risk!
    If you do change it and cannot restart,  go into the config tool and navigate to Global server configuration >> services >> com.sap.security.core.ume.service and find the ume.r3.connection.master.client key. Change that back to it's original value. I was able to restart after that.
    Hope that helps.

  • DRM-61026: Unable to create user session for the following reason: Login failed. Invalid user name or password.

    All Im very new to Oracle DRM and Im trying to get the app setup on Windows server running SQL Server 2008.  When I try to login to the Web Client I keep getting this error.
    DRM-61026: Unable to create user session for the following reason: Login failed. Invalid user name or password.
    Can you please help

    This might be due to The 'Oracle Instance' path may not have been set to a path relative to the 'CSS Bridge Host' (i.e. the Foundation Services machine) on the Configuration > Host Machines > CSS > General tab of the DRM Configuration Utility.
    if this is the case then
    1. Open the DRM Configuration Console.
    2. Go to the Configuration > Host Machines > CSS > General tab of the DRM Configuration Utility.
    3. Ensure that the path in 'Oracle Instance' has been set relative to the 'CSS Bridge Host' (i.e. the Foundation Services machine defined in 'CSS Bridge Host').
    4. If corrections are made to 'Oracle Instance' then restart the DRM services to pick up the change.
    Thanks,
    ~KKT~

  • Restrict users from changing password on first login?

    Hi,
    I am doing mass user upload into UME using script import. How should I use the below functionality to restrict the users from changing password on first login?
    IUserAccount uacc =UMFactory.getUserAccountFactory().newUserAccount(uid,newUser.getUniqueID());
    uacc.setPassword("saras");
    uacc.setPasswordChangeRequired(false);
    How to implement above functionality with mass upload from script import?
    Thanks
    Srinivas
    Edited by: srinivas M on Jan 20, 2009 9:05 PM

    hi srinivas,
    try this api
    http://help.sap.com/javadocs/NW04S/current/se/com/sap/security/api/IUserAccount.html#isPasswordChangeRequired()
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/40d562b7-1405-2a10-dfa3-b03148a9bd19
    this document able to retrive the password.. same positon u can disable the field
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/10649c90-24af-2b10-1086-ea0667ec3655
    thanks

Maybe you are looking for