Login  or creation of user from custom pipelineservlet.

Hi,
we have a requirement like user will be loggedin or created in one of custom request pipeline servlet.  In this pipeline we will invoke a webservice call. Using this response, user will be either loggedin or created if not exist already. To create user one method  createUser(String pProfileAsXML) is provided in OTTB profieservice component. But here the input parameter (pProfileAsXML) is how to construct. What is the xmlStructure to construct the string. And is there any other configurations required ?
Please help me to resolve this.
Thanks in Advance.
Lakshmi.

Hi Nitin,
  I have followed the steps mentioned by you. But i am getting the following error. I am not able to understand what wrong i did in DirectJTDatasource.
JAVA_VM: C:\xxxx\Java\jdk1.6.0_37\bin\java
Error      Tue Sep 10 14:21:08 IST 2013    1378803068873   /       Bad type for property "/atg/dynamo/service/jdbc/JTDataSource.dataSource" atg.nucleus.ConfigurationException: /atg/dynamo/service/jdbc/DirectJTDataSource        java.lang.IllegalArgumentException: argument type mismatch
Error      Tue Sep 10 14:21:08 IST 2013    1378803068873   /               at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Error      Tue Sep 10 14:21:08 IST 2013    1378803068873   /               at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
NameResolver.createFromName(NucleusNameResolver.java:928)
Error      Tue Sep 10 14:21:08 IST 2013    1378803068873   /               at atg.nucleus.NucleusNameResolver.createFromName(NucleusNameResolver.java:667)
Error      Tue Sep 10 14:21:08 IST 2013    1378803068873   /               at atg.nucleus.NucleusNameResolver.createFromName(NucleusNameResolver.java:648)
Error      Tue Sep 10 14:21:08 IST 2013    1378803068873   /               at atg.nucleus.NucleusNameResolver.resolveName(NucleusNameResolver.java:493)
Error      Tue Sep 10 14:21:08 IST 2013    1378803068873   /               at atg.nucleus.ConfigurationRef.getValue(ConfigurationRef.java:119)
Error      Tue Sep 10 14:21:08 IST 2013    1378803068873   /               at atg.nucleus.SimpleComponentState.setBeanProperty(SimpleComponentState.java:403)
Error      Tue Sep 10 14:21:08 IST 2013    1378803068873   /               at atg.nucleus.SimpleConfigurationState.saveToBean(SimpleConfigurationState.java:240)
atg.repository.xml.XMLSchemaGenerator.processCommandLineArgs(XMLSchemaGenerator.java:609)
Error      Tue Sep 10 14:21:08 IST 2013    1378803068873   /               at atg.repository.xml.XMLSchemaGenerator.parseCommandLineArgs(XMLSchemaGenerator.java:511)
Error      Tue Sep 10 14:21:08 IST 2013    1378803068873   /               at atg.repository.xml.XMLSchemaGenerator.main(XMLSchemaGenerator.java:405)
Error      Tue Sep 10 14:21:08 IST 2013    1378803068873   /
Error      Tue Sep 10 14:21:08 IST 2013    1378803068936   /       Unable to start service "/atg/dynamo/service/jdbc/JTDataSource": atg.nucleus.ServiceException: The suppplied DataSource JNDI name null did not resolve to a DataSource.
Error      Tue Sep 10 14:21:09 IST 2013    1378803069061   /atg/dynamo/service/IdGenerator ---     CONTAINER:atg.service.idgen.IdGeneratorException;
Thanks ,
Lakshmi.

Similar Messages

  • How to create automatic creation of BP from customer and vendor master data

    Hi gurus,
    can any one tell how to create automatic creation of BP from customer and vendor master data.
    Please give me the steps.
    Thanks
    Sasikanth.

    HI,
    Goto SPRO\ Cross application components \ Master data synchronization \ Synchronization control.
    Assign account groups of customer and vendors to respective BP grouping. This setting is enough to create BP in background while creating customer / vendor. But the fields groups are very much important, ensure mandatory fields should be sync.
    rgds,
    Srini

  • How to remove user from custom DLU Group

    Hi,
    I have created a DLU policy that creates a local user, and places this user
    in a custom local group (Group is already present on the system). Now I want
    to remove this user from this custom group and place it in another custom
    group. I have created a second DLU policy to place the user in the new
    custom group. The new custom group is added fine, but the old custom group
    assignment also remains. How should I set up the policy so that the user is
    removed from the old custom group, or is this not possible?
    Regards,
    Hen

    Hen,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Do a search of our knowledgebase at http://support.novell.com/search/kb_index.jsp
    - Check all of the other support tools and options available at
    http://support.novell.com.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://support.novell.com/forums)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://support.novell.com/forums/faq_general.html
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://support.novell.com/forums/

  • Automatic creation of BP from customer

    Dear Friends,
    Please guide me how to create business partner automatically from customer. Means whenever a customer is created, a corresponding business partner should be created automatically with the same number. I have assigned the same no. range to both BP & Customer and have checked the necessary settings. Still it does not work.
    Please suggest.
    regards

    Please close this thread.
    Regards

  • How to prevent users from customizing KMs?

    Hi,
    I have users with CONNECT and DESIGNER profiles assigned to. How to drop out "customize KMs" rights?
    Thanks

    Is there a way to stop users from having the ability to create/edit knowledge modules? I would like to separate the role of creating and maintaining KM's from developers that move data.
    Troy

  • API to create a new user from custom code

    Hi, do we have an API to create a new AquaLogic portal user, which I can call from my custom Java code? I want to make user creation process dynamic.
    Edited by technical_stuffs at 05/01/2007 2:20 PM

    yes, I gone through the code and it seems like I need to have some modification over there because it is taking some parameters that I dont have control on or I create those objects as what portals' create user process is doing and pass it down to that method and rest would be fine.

  • How hide ribbon bar for read only users from custom master page.

    Hi,
    I want to hide the ribbon bar for read only users, on my custom master page I put inside of a SharePoint:SPSecurityTrimmedControl this div: <div id="ms-designer-ribbon">, but when I  save the changes the master page does not work
    anymore.
    <!--MS:<SharePoint:SPSecurityTrimmedControl runat="server" AuthenticationRestrictions="AddAndCustomizePages">-->
    <div id="ms-designer-ribbon">
    <!--SID:02 {Ribbon}-->
    <!--PS: Start of READ-ONLY PREVIEW (do not modify) --><div class="DefaultContentBlock" style="background:rgb(0, 114, 198); color:white; width:100%; padding:8px; height:64px; ">The SharePoint ribbon will be here when your file is either previewed on or applied to your site.</div><!--PE: End of READ-ONLY PREVIEW -->
    </div>
    <!--ME:</SharePoint:SPSecurityTrimmedControl>-->
    I'll appreciate any suggestions in order to solve this.
    Regards.

    did you close browse and open a fresh session?
    also authericationrestrictions for add & customize people so its more than read...
    check this one
    http://msdn.microsoft.com/en-us/library/jj822366.aspx
    another blog for same stuff:http://spgurunet00.web707.discountasp.net/post/2012/12/13/Hiding-SharePoint-2013-Ribbon-from-Anonymous-Users.aspx
    Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog

  • Creation of BP from customer

    am trying to create a BP from custmer in Financial . Have already synchronized BP to Customer and Custmer to BP. am having the following error message:
    Customer 500002 cannot be assigned to a business partner
    Message no. CVIC_UI016
    Diagnosis
    No business partner can be assigned to the customer selected.
    System Response
    It is not possible to create a business partner from the customer or to assign a business partner to this customer. This can be due to the following reasons:
    The customer has been created in an account group that is not relevant for update in the business partner.
    The customer has been created as a consumer.
    The customer is part of a sales center.
    Procedure
    Change the Customizing for updating relevant account groups in the IMG activity Define Number Assignment for Direction Customer to BP or change the account group for the customer accordingly.
    How should the customer be created in FI so that it can update the BP
    Regards
    David

    Please close this thread.
    Regards

  • How to switch user from the current user using shell script code

    Hi Experts,
    I have an requirement to login into a particular user from the shell script concurrent program. I do have credentials for that particular user. I want to login and run few commands from that particular user. Please let me know if there are any methods to login as a particular user using the username, password from shell script program.
    Thanks a lot.

    Thanks for your reply. However we cannot use su command from a shell script program. How to enter password from shell script program?http://tinyurl.com/3t7cwjh
    Thanks,
    Hussein

  • Blocking User from accessing wrong customer code in VA01

    Hi SAP SD GURU,
    my finance user uses rebate recipent in sales order creation for rebate settlement.
    my operation user uses one-time customer code in sales order for sales.
    Both type of customer codes can be used in sales order creation under different order type.
    The problem arises when operation staff uses rebate recipent code to create sales order and then billing.
    My finance User want this to stop.
    How can I block the operation User from continuing the sales entry when they select the rebate recipent in a sales order entry?
    Is there any available setting in the customer master that allow me to do so?
    Is there any setting in the SPRO that can control this?

    Hi Colin,
    Well you need to control these through the user profile & roles
    you can do this in SU01 which a Basis person can help you out with .....
    now as said User X wants authorisation to va01  ( Rebate)
                      User Y wants Authorisation to va01 ( One time)
    since here we are not restricting any user for VA01 auth , the Basis person can define the role only till the transaction level not beyond that in standard SAP transaction and here you want to restrict user to not use different customer code
    as per my knowledge i dont think that is possible but still have a check with the Basis team
    Hope this helps
    Cheers

  • How to redirect user from login page to "Set Challenge question" page

    How to redirect user from login page to "Set Challenge question" page (NOT custom page) after 3 un successful password attempts?
    Meaning when user types wrong password 3 times they will be redirected to set Challenge question page. If user answers the challenge question then password reset page should be appeared other wise (after remaining 3 un successeful challenge question answers) account should be locked out.
    thanks for your help.

    hi sandeep
    Thanks for your answer. Let me ellaborate more on the requirement here.
    - Password Policy and Lost Password management are set up in the identity system
    - Configure login tries allowed= 5. Verify accout is lock out after 5 unsucessful login.
    This is what need to achieve.
    1) If a user attempts to login 3(not 5) times using an incorrect login credential he/she should be redirected to set challenge question (security question) page.
    2) Then if the user attempts (remaining) 2 times incorrect challenge answer then his/her account should be locked out.
    3) If he/she answers the challenge answer correctly then he/she should be redirected to password reset page.
    Is this possible?

  • Users are not able to login to BPM worklist application from one of the AD.

    Hi ,
    We are using FMW11g ( 11.1.1.6.0) and configured 2 AD's.( AD-1 & AD-2). We are able to see users from both AD's in the weblogic admin console. Users present in AD-1 are able to login to BPM worklist application without any issue but users from AD-2 are not able to login to BPM application. Could any one please answer 1) Can we configure 2 AD's to FMW11g ? 2) If "YES" , what configuration needs to change to users login from AD-2.
    Please let me know if any more information need.
    Regard's
    Naveen

    Hi
    NO. You CANNOT use more than One Security Provider for a BPM Workspace Application. Only the top most first Security Provider will work. In your case you have 2 ADs security providers and only users from top most can login. Yes, you can see the Users from both and infact all the Security Providers that are configured. It is the limitation of the bpm workspace application and its corresponding security framework.
    Out of box, if you use default AD Configuration then there is nothing you can do. Only the first top most will work. If you really really want you need to use totally custom authentication provider where you will write your own code for authentication. Remember this development is pure weblogic security related one and you need to have good understanding of internal weblogic security. I would not recommend this.
    Here is one old post. This old post has 2 other old posts worth visiting to get more details:
    Re: Use multiple ActiveDirectory as authenticator provider
    Re: oracle soa and active directory integration (Different requirement/usecase)
    Thanks
    Ravi Jegga

  • Creation of Business partner from customer

    Dear Friends,
    I am trying to create business partner from customer thorugh T-code FLBPD1 but unable to do so. Also. whenever i create a customer, a corresponding business partner is automatically created which is not desirable. Rather system should allow me to create business partners from customer separately when required. Kindly suggest any solution for the same.
    Regards

    Hi,
    please have a look at this threat
    [Auto creation of customer/vendor for BP;
    or search the forum for other threats that are handling this topic.
    Regards, Franz

  • How can I login and retrieve my user file from the trash?

    I was trying to find out where all my HD had gone, which a did using ‘What Size’.
    I found what looked like an old backup file so I put the file in the trash.
    It turns out that the file was my user file. So now I can’t login to as the user.
    How can I login and retrieve my user file from the trash?

    The Digital Editions forum is here, in case this is what you are talking about:
    http://forums.adobe.com/community/adobe_digital_editions
    If you are not, I apologize for the misunderstanding.

  • Restricting the Oracle user from Login

    Hi,
    I want to restrict the users from login depending on two parameters usind Database logon trigger,
    i.e
    1. MODULE (like SQL*Plus...)
    2. USERNAME
    I can get USERNAME from
    select SYS_CONTEXT('USERENV','CURRENT_USER') from dual
    But, select SYS_CONTEXT('USERENV','MODULE') from dual says invalid parameter.
    Can anybody help me?
    Ronald.

    Both are working fine i saw
    SQL> select SYS_CONTEXT('USERENV','CURRENT_USER') from dual
    2 ;
    SYS_CONTEXT('USERENV','CURRENT_USER')
    APPS
    SQL> select SYS_CONTEXT('USERENV','MODULE') from dual ;
    SYS_CONTEXT('USERENV','MODULE')
    SQL*Plus

Maybe you are looking for

  • Set High and Low Limits for an Item

    Hello Experts, We want to set up HI and Low Limits in SAP so that they can help us know when we are low on an Item. We would like to see when we are in a sales order and place an order for an Item that falls below the low limit the system will let us

  • Find missing fonts in AI file

    I am writing a VBA script to open and print a handful of AI files. It needs to detect any missing/substituted fonts in each file to alert the designers in an accompanying report. I tried creating a list of fonts using the TextFonts collection from th

  • How can I download Adobe flash play in my BlackBerry

    I need know install or getfalsh player in my BlackBerryi

  • APO Cutover - Check lists / Best practices

    Dear collegues: We are in the process of going live in the next few weeks. We have our deployment plans etc but I would like to learn from other projects on your key lessons learnt. FYI - our scope is APO - DP / SNP / PPDS In this context, I request

  • Analytical function sum() ...for Till-date reporting

    Hi, I need help in forming an SQL with analytical function. Here is my scenario: create table a (name varchar2(10), qty_sold number,on_date date); insert into a values ('abc',10,'10-JAN-2007 00:01:00'); insert into a values ('abc',01,'10-JUL-2007 00: