Self Registration form

HI,
I have created a self registration form based on stored procedure that executes packages owned by Portal30_sso.
When I ran the form, logged as another user, the procedure does not terminates correctley.
This user, owner of the form, has execute priviliges on all packages that are used in the procedure.
Has anyone made a self registration form?
Thanks
Carlos Acle

p_usuario varchar2)
IS
v_id number := null;
v_usuario varchar2(50);
v_password varchar2(50);
v_user PORTAL30_SSO.sso_user_type;
v_err number;
BEGIN
v_usuario := upper(p_usuario);
v_password := upper(p_usuario);
-- usuario login server
PORTAL30_SSO.wwsso_ls_private.get_default_user_config(v_user);
v_user.ssousername := v_usuario;
v_user.hashed_password := v_password;
v_user.ssorole := 'USER';
PORTAL30_SSO.wwsso_ls_private.ls_create_user
(p_newuser=>v_user,
p_err=>v_err);
-- dbms_output.put_line('error ' | | v_err);
-- usuario portal
PORTAL30.wwctx_api_private.set_context('PORTAL30_SSO','');
v_id := PORTAL30.wwsec_api.add_portal_user(v_usuario);
portal30.wwsec_api.activate_portal_user(v_usuario);
v_id := portal30.wwsec_api.id_sso(v_usuario);
PORTAL30.wwctx_api_private.clear_context;
-- usario de la base
dbms_utility.exec_ddl_statement('CREATE USER ' | | p_usuario | |
' IDENTIFIED BY ' | | p_usuario | |
' DEFAULT TABLESPACE USERS ' | |
' TEMPORARY TABLESPACE TEMP');
dbms_utility.exec_ddl_statement('GRANT CONNECT TO ' | | p_usuario);
exception
when others then v_err := sqlcode | | ' ' | | sqlerrm;
-- when others then dbms_output.put_line('encontre error ' | | v_err | | sqlerrm | | ' ' | | sqlcode);
END;
null

Similar Messages

  • Error in Self Registration form

    Hi,
    Language field in the initial supplier self registration form is mandatory in ROS. Even after selecting english, it gives me error, select yr language. Pl let me know how to correct it. Is it related to config in web survey or is it html form error?
    Regards,

    Hi Pooja,
    This error usually occurs when you have wrongly populated some other field. For ex : In email id you mention 'abc ' instead of 'abc at xyz.com'.
    Pl ensure that all other fields are populated in the correct format.
    It's a strange behaviour of the ROS_SELF_REG BSP page.
    Regards,
    Nikhil

  • Need to put out of Box password policy in self registration form.

    Hi All,
    I create a self registration workflow in i put a self gistration form. In the validation section of password field i apply check method of com.waveset.policy.stringQualityPolicy to apply out of box Password policy. But i got an error while running the workflow from configurator interface. i put the trace below. please help.
    <defvar name='policy'>
    </defvar> --> null
    <defvar name='policyChecker'>
    </defvar> --> null
    <invoke name='check'>
    <ref>policyChecker</ref>
    [<defvar name='policyChecker'>]
    <new class='com.waveset.policy.StringQualityPolicy'>
    </new> --> com.waveset.policy.StringQualityPolicy@af914c
    [</defvar>] --> com.waveset.policy.StringQualityPolicy@af914c --> com.wavese
    t.policy.StringQualityPolicy@af914c
    <ref>policy</ref>
    [<defvar name='policy'>]
    <invoke name='getObject'>
    <rule name='getCallerSession'>
    <Rule name='getCallerSession'>
    <block trace='true'>
    <select>
    <ref>context</ref> --> com.waveset.session.LocalSession@6c2a78
    </select> --> com.waveset.session.LocalSession@6c2a78
    </block> --> com.waveset.session.LocalSession@6c2a78
    </Rule> --> com.waveset.session.LocalSession@6c2a78
    </rule> --> com.waveset.session.LocalSession@6c2a78
    <invoke name='findType' class='com.waveset.object.Type'>
    <s>Policy</s> --> Policy
    </invoke> --> Policy
    <ref>policyName</ref> --> Password Policy
    </invoke> --> Policy:Password Policy
    [</defvar>] --> Policy:Password Policy --> Policy:Password Policy
    <ref>userPassword</ref>Resolved variables.user.userPassword to aaa
    --> aaa
    <null/> --> null
    <null/> --> null
    <ref>accountId</ref>Resolved variables.user.accountId to aaaaaaa
    --> aaaaaaaXPRESS <invoke> exception:
    com.waveset.util.WavesetException: Can't call method check on class com.waveset.
    policy.StringQualityPolicy
    ==> java.lang.NullPointerException:
    </invoke> --> null
    Thanks in advance.
    Any pointer will really be helpful.
    Edited by: Amit_Bansal on Feb 27, 2008 3:05 PM

    Hello,
    Has anyone been successful at displaying the "View PAssword Policy" on the self registration form? Or is this not possible to get done?
    Thanks
    Khanh

  • Lookup field in self registration form

    I have added a user defined lookup field using Design View.
    I added the following attribute to FormMetaData.xml:
    <Attribute name="USR_UDF_LOCATION" label="global.udf.USR_UDF_LOCATION" displayComponentType="LookupField" map="USR_UDF_LOCATION" >
    <ValidValues lookupCode="Lookup.Custom.Users.Location"/>
    </Attribute>
    The new lookup field is showing in 'Create User' and User modification forms but does not show in the Self registration form.
    I added the following to FormMetaData.xml under the SelfRegistrationUserForm section:
    <AttributeReference optional="false">USR_UDF_LOCATION</AttributeReference>
    But, the Fiield is getting displayed as a text field and not a lookup field.
    I

    I read that Lookup/ Combo box field cannot be added in a self registration form. Is it true?
    (Source:
    Link: Adding combobox in self registration from
    Link: OIM: problem with combobox in self registration form

  • Interface between self registration form and prospects

    Hi all,
    I am defining the interfaces between the Self registration form and the prospect in the supplier registration. Does anybody know how the data are tranfered into the prospects? How can the purchaser acceed to these informations to give his approval?
    Once this step is over the supplier will answer to a survey (questionnaire). Where are stored the answers? Are these data visible?
    Thanks in advance

    Hi,
    Per my knowledge, the code should be pasted in CustomLogin.aspx.cs page.
    Chun Liu has also written an blog about the custom login page for FBA, you can have a look at it.
    http://blogs.msdn.com/b/chunliu/archive/2010/08/21/creating-a-custom-login-page-for-fba-in-sharepoint-2010.aspx
    More reference:
    http://blogs.msdn.com/b/kaevans/archive/2010/07/09/creating-a-custom-login-page-for-sharepoint-2010.aspx
    http://sivarajan.me/post/SharePoint-2013-Enabling-Custom-Login-Page-and-Mixed-Contents-Part-2
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • Suppliers self registration form

    Dear all,
    We are using the suppliers self registration form. When we are logging
    in to the form it displays a message at the bottom of the message
    regarding the option to change/add text to the form. There is a
    reference to transaction SE61 but it does not say which class and ID.
    Can anyone tell me wha is the class and ID for the text maintenance?
    Thanks,
    Yaron

    Hi Yaron,
    please go to following SPRO path:
    Supplier Relationship Management->Supplier Self Services->   
    Settings for user inerface-> Specify Data Privacy Settings for Suppliers
    There you will find the text ID's to edit, or you create a new text in SE61 and speficy its ID in the customizing.
    regards
    Zoltan

  • Add UDF to Self Registration form in OIM 11.1.X

    Hi All,
    I want to add few additional fields to the self registration form for eg. Phone no. etc..
    For this I am updating SelfCreateUserDataset.xml and than am restarting the server. But still default (OOTB) fields are only visible, Can any body please guide me the right steps?
    Thanks & Regards,
    Newbie

    The only problem with that could be the path of the import-export location. Following should be your variables in weblogic.properties:
    metadata_to_loc=/location/export
    This would export the entire stuff along with the folder structure to the above directory. Now modify it accordingly and copy it to the below directory location (whole directory structure inside */location/export*)
    metadata_from_loc=/location/import
    metadata_files=/metadata/iam-features-requestactions/model-data/SelfCreateUserDataset.xml
    This should be good enough.
    Thanks
    SRS

  • Customizing Self Registration Form

    Hi,
    We have a scenario where when a user comes to perform self registration on OIM, we have to take different fields as input based on the user type. For example if the user is an external contractor we want to take input fields 1 and 2, and if the user is an internal employee the user would be required to input information in fields 3 and 4. Is there any way we can control it through the Self Request Dataset XML. I have already added all the required fields in the XML, however right now it asks for all the information irrespective of the user type.
    Can anyone guide how to tackle this?
    Thanks.
    UZ

    Well obviously modifying the existing JSP will be a better solution because in that case you will just need to merge the existing logic with your new one. The best thing I get to think for it is the following only:
    1) Create a class which holds your logic for UserID validation.
    2) Create a new button in JSP as required. For the onclick action give a call to above class and then based on the results, display another jsp as a popup. This new jsp will be either of the following:
    - SUCCESS. The userID you selected is a vlaid one. Click Proceed.
    - ERROR. This UserID has already been used. Select a new one or slect from tne following options. Now show all the possibilities as radio button. Click Proceed.
    Well that is the solution I would have done.
    Thanks
    Sunny

  • How to create customer self registration form iReceivables in 11.5.10.2

    Hi,
    I am new to iReceivables and in need to know how to create customer self registration in iReceivable 11.5.10.2.
    Please give the steps. I the guide its mentioned as need to create the static HTML page. If so please let me know how to do it. Please give me if you are having any sample code.
    Regards
    Suresh P

    Please see these docs.
    SelfService Registration Link Not Working For iReceivables [ID 603353.1]
    iReceivables user tries to register for iStore and message 'Email Address Is Already In Use' [ID 1114661.1]
    Questions: Auto Login After Self-Registration [ID 403097.1]
    How to Find iReceviables Patchset Level on 11i Instance [ID 263942.1]
    How To Create Custom Self Registration Challenge Questions In 11i [ID 759998.1]
    iReceivables Self Registration Challenge Question not Working [ID 961586.1]
    The Ireceivables Self Registration Page Errors Out. What Are the Setups to Review? [ID 414161.1]
    How To Control The Invoice Picked Up In iReceivable Self Registartion Challenge Question? [ID 1310902.1]
    Thanks,
    Hussein

  • How to populate a field on the Self Registration Approval Form?

    Hello,
    I have a field named SSN (last 4 digits of the SSN) that a self registered user must fill in during self registration. After the user submits the request, the request is submitted to a reviewer.
    This reviewer logs in and accesses the Self Registration Approval Form for that particular request. I would like to display the possible returned values of SSN that I query from HR based on the requester's firstname, middlename, and lastname. This will allow the reviewer to verify the requester's identity. If the entered SSN does not match the displayed SSN, the reviewer can take the proper action.
    How can this be accomplished?
    I looked into the prepopulate rule generator adaptor. But I don't have a form to attach the adaptor to it since the approval form is an ootb form.
    Thanks

    Yes, I did.
    In the adapter I mapped the adapter return value to the output of the java code (Get SSN).
    In the User Registration Process Definition, I have a non conditional task named Get SSN. I mapped the requestID to the request Key and the adapter return value to the field on the self registration form (using User Definition field).
    But the value did not show up in that field...

  • Customize Self Registration Portlet/Form?

    I have succesfully added the Self Registration portlet to our site, but would like to customize the fields that the portlet uses, make some required, etc....
    I find VERY little info regarding Self Registration, any suggestions???

    You have not mentioned the Portal version!!
    Refer following for respective Portal version. For customizing the fileds, you may have to create your own custom self registration form for this. You have to use the DBMS_LDAP APIs to get the information updated in OID.
    a) 3.0.9:
    Oracle9iAS Portal Configuration Guide Release 3.0.9 -> Post-installation and Configuration Tasks -> Configuring Self-registration
    link : http://portalstudio.oracle.com/pls/ops/docs/FOLDER/ONLINE_HELP/ONLINEMANUALS/DOC_CONFIG/cgpost.htm#1012715
    http://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=183413.1
    b) 902
    I couldnot find relevant document link. Please follow the below procedure for same:
    1.Run the following command
    selfreg.cmd -s <portal_schema> -p <portal_password> -c <portal_connect_string>
    This script is present at HOME/portal/admin/plsql directory
    2.In Global Settings ,Under Self-Registration Options section, select Enable Users To Log On Immediately if you want users to be able to log on to Oracle9iAS Portal immediately after they create their own user account using the self-registration feature.
    3.customize the Login portlet to include a self-registration link.
    Hope it solves the problem...!!

  • OIM 9.1.0.1 Self Registration

    I'm having issues modifying the Self Registration process in OIM 9.1.0.1. I have added an adapter to OIM that generates the userid for users automatically. Then I "hide" the userid field in the Self Registration form because the userid generator will create one for them.
    At first it worked fine, but problems arose when I added a password policy. The Self Registration fails no matter what password I enter in the Self Registration form. If I add the userid field back to the Self Registration form and fill in it, then I don't get the password policy error. Has anyone else modified the Self Registration form so users can't enter the userid themselves?

    First, do a search for .ear files as well, that's where the xellerate app is going to be, not in a war file.
    Weblogic should have 2 apps deployed: Nexaweb and Xellerate and those apps' files will be in
    xellerate/OIMApplications/
    That folder has : WLNexaweb.ear and WLXerateFull.ear for me.
    If those don't exist, you can try the patch script, which will recompile and redeploy:
    switch to xellerate/setup/
    run ./patch_weblogic.sh [weblogicpassword] [oimdbpassword] (i think)
    You can find detailed instructions on the patch script if u google it, search the install docs, or specifically where I read about it, in ANY of the upgrade patches, such as 9102 upgrade or BP11upgrade, etc... those docs have a section for what to do when the patching fails and they tell you to delete some files (precompile, etc..) and run the patch script again. I've done this a few times and it's worked for me.
    Hope this helps
    Alex
    Edited by: Alex S on Sep 24, 2010 9:24 AM

  • OIM Self Registration without approval

    Hi All,
    I am very new to OIM, I need to know how to do self registration without an admin approval.
    I just gave shot by adding those mandatory fields from the approval form to the self registration form by editing the
    formmetadata.xml. but i get a bunch of exceptions and the request itself is not getting registered, i couldnt see any pending approval tasks in the admin screen for that particular self registration.
    I went through this post
    OIM - auto approval of self registration
    From that i could get that i need to create a task adpater and populate the other mandatory fields
    which aren't captured in the self registration screen.
    But is it the only way of doing it??
    Please let me know how to do it (any method).
    or any pointers would be helpful.
    Thanks in advance.

    HI Nitesh,
    Thanks for the reply,
    What i did is I added the mandatory fields to the self registration page, The probllem was with the value which i had passed during the self registration.
    For user type, i gave it as "Full-Time Employee" , but the actual value is "Full-Time" when i gave the correct value
    it worked.
    To summarize, i just added the madatoy fields like org name, user type and role to the sefl registration page
    and gave the correct values while registering and it worked.
    i am sure i cant live with this for a long time, I have to start work on the adapters.
    Thanks.

  • Self Registration - Fields of Type ComboBox/LookupField

    Hi
    Is it possible to have combotype or lookup field on a self registration form in OIM. I know that checkbox can be there. But I am not aware as to how to get a combo box appear on the self registration form.
    Can you please advice me
    Thanks in advance

    Go through the doc on http://download.oracle.com/docs/cd/B32479_01/doc.903/b32452/custselfreg.htm#sthref63
    What exactly are you trying to add? Is it a UDF?
    Do provide more details on what exactly you added to the FormMetaData.xml
    Rgds, Ajay

  • Self Registration in OIM 11g

    Hi,
    Can some one guide me on how to add User defined fields to self Registration page.My requirement is : In self registration form(at the login page),I have to add some UDFs and delete some existing fields.
    2.User should be created immediately - no approval process for user creation
    3.User email address should be the userid/username. All the oim-username properties should apply to user email address.(No duplicate user email address).Please help.
    Thanks.

    Regarding Question 1, Chapter 8 ( managing profile) of OIM 11g user guide should help you here. In summary, You will need to use self service related authorization policies to add udfs to self profile page.
    http://download.oracle.com/docs/cd/E14571_01/doc.1111/e14316/my_profile.htm#CACICCFD
    Regarding Question 3, Please check out 11.5.2 Configuring the Username Policy of OIM 11g user guide.
    http://download.oracle.com/docs/cd/E14571_01/doc.1111/e14316/usr_mangmnt.htm#CHDJGJJA
    You will need to configure EmailIdPolicy as the username generation policy. OIM11g has OOTB validations to enforce email uniqueness.

Maybe you are looking for

  • How to determine that the Mapped User Id has the active r/3 account?

    Hi Experts, I have a requirement to determine the whether the mapped user ID in portal has active  or inactive user account in R/3. For example: We have implemented SSO between WAS & backed R/3. Now the user has the active poratl account but the R/3

  • How to scroll the content of an XY chart?

    Is it possible to scroll the contents of a chart? I want to keep a fixed Y axis and scroll the X axis. If the chart is placed inside a ScrollPane, then Y axis, legend, and chart title can be scrolled out of the view...

  • Autoscale in waveform view does not scale down

    Since, again, this follow-up question in another thread has not been answered, I will post it as a new thread here. The autoscaling in the waveform viewer does not seem to be working as one expects. When I switch to analog view the first time, it sca

  • Tiger 10.4.6 does cd does not launch

    Hello. The newly cd received from Apple Store simply does not launch. How come. Thank you for your assistance. Donald

  • Copy my contact address from Blackberry to E72

     Please guys I need help I have got a new E72 and I would like to copy my contact address from my Blackberry .. how can i do this ..  from Blackberry to E72 ? Please help me its urgent