Multiple obSSOCookies in a single user session

Hi ,
I have written a web service to update my users in ADAM directory. The web method creates IDXML requests and sends it to the Identity Server.
My web method looks like this
[WebMethod]
public void UpdateUserProfile(string userGuid, UserProfile profile, string obSsoCookie) where userGUID is the CN attribute.
I do call this webmethod from a web application to update multiple users. Since my web method supports only one update at a time, I have to call this method in a loop and pass on the user details. I wont be able to add a bulk update web method due to other constraints.
Now every time, when I call this web method from my client ASP.NET application (Updating users from my client application) , I also pass on a new obSSOCookie, in the same session.
The client method signature which I use to call the web method is
utils.UpdateUserProfile(foundProfile[iProfile].Guid, profile, CommonFunctions.GetOIMSSOCookie());
The GetOIMSSOCookie method generates a new cookie on every call by posting my account credentials to webgate.
However, the update fails sporadically after updating few users. The error logs which I see is (logs have been masked)
2011-03-09 04:59:24,458|756|DEBUG|53275e69|XXX|UpdateUserProfile > SearchUser SearchActiveUser > SearchActiveUser > SearchActiveUsers > GetUserAttributeValues >|OIM.CommonSearchHelper|cn Attribute value: CN=2bb8f5f6-49b0-4d86-a58a-bad9a087b25c,OU=XXX,OU=Applications,OU=subscriber,DC=ext,DC=adam
2011-03-09 04:59:24,458|756|DEBUG|53275e69|XXX|UpdateUserProfile > SearchUser SearchActiveUser > SearchActiveUser > SearchActiveUsers >|OIM.CommonSearchHelper|User DN: CN=2bb8f5f6-49b0-4d86-a58a-bad9a087b25c,OU=XXX,OU=Applications,OU=subscriber,DC=ext,DC=adam
2011-03-09 04:59:24,458|756|DEBUG|53275e69|XXX|UpdateUserProfile > SearchUser SearchActiveUser > SearchActiveUser >|OIM.CommonSearchHelper|userDN: CN=2bb8f5f6-49b0-4d86-a58a-bad9a087b25c,OU=XXX,OU=Applications,OU=subscriber,DC=ext,DC=adam
2011-03-09 04:59:24,458|756|DEBUG|53275e69|XXX|UpdateUserProfile > CreateGenericAttribute|OIM.ModifyUserHelper| Generic Attribute: Setting;oper:REPLACE_ALL
2011-03-09 04:59:24,458|756|DEBUG|53275e69|XXX|UpdateUserProfile > CreateGenericAttribute|OIM.ModifyUserHelper|Attribute Values : OptOut;
2011-03-09 04:59:24,458|756|DEBUG|53275e69|XXX|UpdateUserProfile > CreateGenericAttribute|OIM.ModifyUserHelper| Generic Attribute: setting;oper:REPLACE_ALL
2011-03-09 04:59:24,458|756|DEBUG|53275e69|XXX|UpdateUserProfile > CreateGenericAttribute|OIM.ModifyUserHelper|Attribute Values : ;
2011-03-09 04:59:24,458|756|DEBUG|53275e69|XXX|UpdateUserProfile > CreateRequestParams|OIM.ModifyUserHelper|Creating Request params for dn:CN=2bb8f5f6-49b0-4d86-a58a-bad9a087b25c,OU=XXX,OU=Applications,OU=subscriber,DC=ext,DC=adam
2011-03-09 04:59:24,458|756|DEBUG|53275e69|XXX|UpdateUserProfile > CreateRequest|OIM.ModifyUserHelper|Creating Modify User Request:
2011-03-09 04:59:24,458|756|DEBUG|53275e69|XXX|UpdateUserProfile > CreateCookie|OIM.Utility|Creating Cookie - ObSSOCookie : vh1YQIlJEn4m4PA6uWYQlB1VJp%2Bl1OL7Got2aL1GTwBj1dCF4r4gdoiwXaCbwKmqqX0KWQGp5n0KzaLhDsKqscGNT%2FsxLdSdmoiBMIqR2tBMxIGO4EIIO8FZ%2FnOUVIrElqjyZMK7FpKJ7cGOvezFBLbl1WqcOxiDz2M2lYgoRFJX94uhaB2av3FoFxMQU0wgNHOJJsT4oAaUW2B6DxHg9nzITZvanmzYrDG7xK8p6TNTilhD9hygvcUKyriaAnIYJRxgpSmdgppznPD27KoQvLmjw2jjIHxujaWXPiMko0QgFpIwMK02SrgOWLlB3n6334n4f86TJqi%2Bj78hJ3HRpW%2FjNfAYBbr%2FN1D0r6%2BZt3U%3D; domain=.xxx.com;isSecure: False
2011-03-09 04:59:24,646|756|DEBUG|53275e69|XXX|UpdateUserProfile >|OIM.OimUtils|Status: 0
2011-03-09 04:59:24,646|756|DEBUG|53275e69|XXX|UpdateUserProfile >|OIM.OimUtils|Updated User Profile
2011-03-09 04:59:24,646|756|DEBUG|(null)|XXX|(null)|OIM.Global|Request Completed for /oimapi/20070306/oimapi.asmx
2011-03-09 04:59:24,739|756|DEBUG|(null)|XXX|(null)|OIM.Global|Begin Request - 9046bf89
2011-03-09 04:59:24,739|756|DEBUG|9046bf89|XXX|(null)|OIM.Global|Beginning Request for /OIMAPI/20070306/OimAPI.asmx
2011-03-09 04:59:24,739|756|DEBUG|9046bf89|XXX|GetUserProfileForToken >|OIM.OimUtils|Starting GetUserProfileForToken
2011-03-09 04:59:24,739|756|DEBUG|9046bf89|XXX|GetUserProfileForToken >|OIM.OimUtils|Parameters: obssocookie: ngzOfBfpHTxumbRfYHbaHXMR%2B3oDuxKmIUzS4hqFtGfGQ8QyLSQ7n%2BiLLbEBJMLXJlq5mF1u1ngR8z8Xs9n5T5JBZyK7eVhlitAELEU2SrPxlCkenz6WdbtM%2FsbpJKTZ3kQ25%2Fy3lZ8gVHXLeMzjNQitlXdmpnA%2BTPRu%2FwPAIojDmojbdHWiO3eJI61lvffrsMFANz5ZtVRd4AKmbFFWXI4DytAIdKwSDfDZ1h6LsVAsYaZ4vXM1%2B7qJ7qw80%2F7PO8CKer%2F4wbTNAzgSHH%2BNA7Zd2TgzzYjPAyiPDIbQb4viB%2BAdohKW6IScot9ekWzCtm0gzA1H4fJTSGmXEDuLrux7wxDsNpeL4HfvMq5AvTM%3D
2011-03-09 04:59:24,755|756|DEBUG|9046bf89|XXX|GetUserProfileForToken > GetUserAttributeValues CreateRequestParams|OIM.ViewHelper|Creating View Request params for dn:
2011-03-09 04:59:24,755|756|DEBUG|9046bf89|XXX|GetUserProfileForToken > GetUserAttributeValues CreateRequest|OIM.ViewHelper|Creating View Request
2011-03-09 04:59:24,755|756|DEBUG|9046bf89|XXX|GetUserProfileForToken > GetUserAttributeValues CreateCookie|OIM.Utility|Creating Cookie - ObSSOCookie : ngzOfBfpHTxumbRfYHbaHXMR%2B3oDuxKmIUzS4hqFtGfGQ8QyLSQ7n%2BiLLbEBJMLXJlq5mF1u1ngR8z8Xs9n5T5JBZyK7eVhlitAELEU2SrPxlCkenz6WdbtM%2FsbpJKTZ3kQ25%2Fy3lZ8gVHXLeMzjNQitlXdmpnA%2BTPRu%2FwPAIojDmojbdHWiO3eJI61lvffrsMFANz5ZtVRd4AKmbFFWXI4DytAIdKwSDfDZ1h6LsVAsYaZ4vXM1%2B7qJ7qw80%2F7PO8CKer%2F4wbTNAzgSHH%2BNA7Zd2TgzzYjPAyiPDIbQb4viB%2BAdohKW6IScot9ekWzCtm0gzA1H4fJTSGmXEDuLrux7wxDsNpeL4HfvMq5AvTM%3D; domain=.xxx.com;isSecure: False
2011-03-09 04:59:24,896|1356|DEBUG|(null)|(null)|(null)|OIM.Global|Begin Request - 29bf4f98
2011-03-09 04:59:24,896|1356|DEBUG|29bf4f98|XXX|(null)|OIM.Global|Beginning Request for /oimapi/20070306/oimapi.asmx
2011-03-09 04:59:24,896|1356|DEBUG|29bf4f98|XXX|UpdateUserProfile >|OIM.OimUtils|Starting UpdateUserProfile
2011-03-09 04:59:24,896|1356|DEBUG|29bf4f98|XXX|UpdateUserProfile >|OIM.OimUtils|Parameters: userGuid: 36ce5679-5f52-4b6c-a2f5-a9d48162abac; obSsoCookie: loggedoutcontinue
2011-03-09 04:59:24,896|1356|DEBUG|29bf4f98|XXX|UpdateUserProfile > SearchUser SearchActiveUser > CreateSearchParamCondition|OIM.CommonSearchHelper|Creating Search Param Conditions - attrName:cn;attrValue:36ce5679-5f52-4b6c-a2f5-a9d48162abac;oper:OEM
2011-03-09 04:59:24,896|1356|DEBUG|29bf4f98|XXX|UpdateUserProfile > SearchUser SearchActiveUser >|OIM.CommonSearchHelper|Search Condition 1: cn OEM 36ce5679-5f52-4b6c-a2f5-a9d48162abac
2011-03-09 04:59:24,896|1356|DEBUG|29bf4f98|XXX|UpdateUserProfile > SearchUser SearchActiveUser > SearchActiveUser > SearchActiveUsers > CreateSearchParams|OIM.CommonSearchHelper|Creating Search Params with 1 condition(s)
2011-03-09 04:59:24,896|1356|DEBUG|29bf4f98|XXX|UpdateUserProfile > SearchUser SearchActiveUser > SearchActiveUser > SearchActiveUsers > CreateRequestParams|OIM.CommonSearchHelper|Creating Request params - number of fields: 1; tabId: Employees
2011-03-09 04:59:24,896|1356|DEBUG|29bf4f98|XXX|UpdateUserProfile > SearchUser SearchActiveUser > SearchActiveUser > SearchActiveUsers > CreateRequest|OIM.CommonSearchHelper|Creating Request:
2011-03-09 04:59:24,896|1356|DEBUG|29bf4f98|XXX|UpdateUserProfile > SearchUser SearchActiveUser > SearchActiveUser > SearchActiveUsers > CreateCookie|OIM.Utility|Creating Cookie - ObSSOCookie : loggedoutcontinue; domain=.xxx.com;isSecure: False
2011-03-09 04:59:24,896|1356|ERROR|29bf4f98|XXX|UpdateUserProfile > SearchUser SearchActiveUser > SearchActiveUser > SearchActiveUsers >|OIM.CommonSearchHelper|2 - Error Searching User: cn OEM 36ce5679-5f52-4b6c-a2f5-a9d48162abac; - The request failed with an empty response.(51-99-01)
System.Net.WebException: The request failed with an empty response.
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at OIM.common_search.OblixIDXML_common_search_Service.OblixIDXML_common_search(authentication authentication, request request) in c:\Projects\OIM\Source\OIMAPI\Web References\common_search\Reference.cs:line 79
at OIM.CommonSearchHelper.GetSearchActiveUsersResponse(String[] attributeNames, SearchParamsCondition[] conditions, Int32 numOfRecords, String obSsoCookie) in c:\Projects\OIM\Source\OIMAPI\CommonSearchHelper.cs:line 493
2011-03-09 04:59:24,896|1356|DEBUG|(null)|XXX|(null)|OIM.Global|Request Completed for /oimapi/20070306/oimapi.asmx
The update fails because in between, the obssocookie sets to LoggedOut Continue.
Should I be using a single obSSOCookie for the entire update operation, by getting a cookie and storing it in a temp string variable? If not, then what could be reason the cookie getting timed-out?
Any suggestions?
Thank you,
Vibhuti

Hi Sudhakar,
try some thing like this.Here I have enclosed the code snippet.
     String query = USER_ID + "=" + user.getUserId()+ "," + people;
                    // add the user to the LDAP directory
//                    ctx.createSubcontext( query, attrNew );
                    Attribute att1 = new BasicAttribute(MEMBEROF);
                    String roleName=user.getUserRoleList().get(0);
                    String role1 = COMMONNAME + "="+roleName+"," + group;
                    att1.add(role1);
                    attrNew.put(att1);
                    DirContext dirContext =ctx.createSubcontext( query, attrNew );
                    for (int i = 1; i < user.getUserRoleList().size(); i++) {
                         Attributes att2 = new BasicAttributes();
                         String roleNameStr=user.getUserRoleList().get(i);
                         log.debug("roleNameStr--->"+roleNameStr);
                         String role2 = COMMONNAME + "="+roleNameStr+"," + group;
                         log.debug("role2-->"+role2);
                         att2.put(MEMBEROF,role2);
                         dirContext.modifyAttributes("", DirContext.ADD_ATTRIBUTE, att2);
                    }

Similar Messages

  • How to add multiple groups in a single user in ldap

    I have problem with ldap ,Please clarify the following problem.
    My request is --> send the multiple groups at a time with single user.
    My code contain single user and single group is working.
    Please see the source file ,please solve my problem. i tried , but i did not get.
    package com.ldap;
    import java.util.Hashtable;
    import javax.naming.AuthenticationException;
    import javax.naming.Context;
    import javax.naming.NameAlreadyBoundException;
    import javax.naming.NamingException;
    import javax.naming.directory.Attribute;
    import javax.naming.directory.Attributes;
    import javax.naming.directory.BasicAttribute;
    import javax.naming.directory.BasicAttributes;
    import javax.naming.directory.DirContext;
    import javax.naming.directory.InitialDirContext;
    * This class provides methods for the user management
    * @author sudhakar
    public class LdapUserMgr {
         public final static String USER_ID = "uid";
         public final static String COMMONNAME = "cn";
         public final static String SURNAME = "sn";
         public final static String MEMBEROF = "wlsMemberOf";
         public final static String MEMBEROF1 = "wlsMemberOf";
         public final static String PASSWORD = "userpassword";
         public final static String EMAIL = "mail";
         * This method creates new user in the embedded ldap registry
         * @return
         * @throws Exception
         public void createUser() throws Exception {
              DirContext ctx = getLDAPConnection();
              String userId="sudhakar";
              String userName="sudhakar";
              String userRole="Assessor";
              String password="sudhakar123";
              String email="[email protected]";
              try{
                        Attributes attrNew = new BasicAttributes(true);
                        Attribute objclass = new BasicAttribute("objectclass");
                        String group = "ou=groups,ou=myrealm,dc=sudhakar_domain";
                        String people = "ou=people,ou=myrealm,dc=sudhakar_domain";
                        // add all the object classes required for the user profile
                        objclass.add("top");
                        objclass.add("person");
                        objclass.add("organizationalPerson");
                        objclass.add("inetOrgPerson");
                        objclass.add("wlsUser");
                        // put all the attributes required as part of the user profile
                        // add object classes
                        attrNew.put(objclass);
                        // add user Id
                        attrNew.put(USER_ID, userId);
                        // add user common name
                        attrNew.put(COMMONNAME, userName);
                        // add user surname
                        attrNew.put(SURNAME, userName);
                        // prepare the group path for the user
                        String role = COMMONNAME + "=" + userRole + "," + group;
                        // add user to a group
                        attrNew.put(MEMBEROF,role);
                        System.out.println("user role is "+role);
    // i want to pass multiple user roles at a time
                        // add user password
                        attrNew.put(PASSWORD, password);
                        // add user mail Id
                        attrNew.put(EMAIL, email);
                        // Prepare the query string to add the user to the embedded ldap
                        String query = USER_ID + "=" + userId+ "," + people;
                        System.out.println("user query is "+query);
                        // add the user to the LDAP directory
                        ctx.createSubcontext( query, attrNew );
                        System.out.println("user" + userId+ "created");
              catch ( NameAlreadyBoundException nabe ){
                   System.out.println(nabe.getMessage());
                   throw new NameAlreadyBoundException("User by this name already exits");
              catch (NamingException namEx) {
                   System.out.println(namEx.getMessage());
              catch(Exception ex){
                   System.out.println(ex.getMessage());
              finally{
                   closeLDAPConnection(ctx);
         public DirContext getLDAPConnection() throws Exception{
              DirContext ctx = null;
              try{
                   Hashtable<String,String> env = new Hashtable<String,String>();
                   env.put(Context.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.ldap.LdapCtxFactory");
                   env.put(Context.PROVIDER_URL, "ldap://192.168.100.84:7030/");
                   env.put(Context.SECURITY_AUTHENTICATION, "simple");
                   env.put(Context.SECURITY_PRINCIPAL, "cn=Admin");
                   env.put(Context.SECURITY_CREDENTIALS,"admin");
                   // Create the initial directory context
                   ctx = new InitialDirContext(env);
         return ctx;
              catch (AuthenticationException authEx){
                   System.out.println(authEx.getMessage());
              throw new AuthenticationException("Authentication failed");
              catch (NamingException namEx) {
                   System.out.println(namEx.getMessage());
              throw new NamingException("Naming Exception");
              catch(Exception ex){
                   System.out.println(ex.getMessage());
              throw new Exception("Exception Occured");
         * This method closes the LDAP connection
         * @param ctx
         public void closeLDAPConnection(DirContext ctx){
              try{
                   ctx.close();
              catch(NamingException nex){
                   System.out.println(nex.getMessage());
              catch(Exception ex){
                   System.out.println(ex.getMessage());
         public static void main(String s[])throws Exception{
              LdapUserMgr ldapUserMgr = new LdapUserMgr();
              ldapUserMgr.createUser();
    Edited by: sudhakar_kavuru on Jun 16, 2009 1:58 AM

    Hi Sudhakar,
    try some thing like this.Here I have enclosed the code snippet.
         String query = USER_ID + "=" + user.getUserId()+ "," + people;
                        // add the user to the LDAP directory
    //                    ctx.createSubcontext( query, attrNew );
                        Attribute att1 = new BasicAttribute(MEMBEROF);
                        String roleName=user.getUserRoleList().get(0);
                        String role1 = COMMONNAME + "="+roleName+"," + group;
                        att1.add(role1);
                        attrNew.put(att1);
                        DirContext dirContext =ctx.createSubcontext( query, attrNew );
                        for (int i = 1; i < user.getUserRoleList().size(); i++) {
                             Attributes att2 = new BasicAttributes();
                             String roleNameStr=user.getUserRoleList().get(i);
                             log.debug("roleNameStr--->"+roleNameStr);
                             String role2 = COMMONNAME + "="+roleNameStr+"," + group;
                             log.debug("role2-->"+role2);
                             att2.put(MEMBEROF,role2);
                             dirContext.modifyAttributes("", DirContext.ADD_ATTRIBUTE, att2);
                        }

  • How to enable iphone application for multiple iDevices associated with single user for non renewable subscription?

    I am developing an ios application which has non renewable subscription.
    Which algorithm would be best if the very time an authorized user purchase my application after paying charge for it , can download it for other devices assocated with him for free?
    Any help would be appreciated?    
        Thanks in advance
         Neeraj@iDev

    Thanks! I see a potential problem--iTunes must be open on the main(?) other computer for sharing to works, according to some of the documentation. My situation is that daughter 1 grabs the main computer, access iTunes and her account. Then daughter 2 comes into room, screams upon seeing daughter 1 using the iTunes computer.
    I want daughter 2 to calmly walk to computer 2, open iTunes and somehow seamlessly access her iTunes library. In that case, iTunes may be open on computer 1, but not with her library open or her id in force. It might also be the situation that computer 1 does not have iTunes even running at that time, if daughter 1 is on Facebook.
    Can Home Sharing handle this situation?
    Larry

  • Populating multiple image fields with single user-defined image

    Hello,
    I am fairly new to LiveCycle and am looking to include a user-specified image in the header of each page of my dynamic form.
    I've succeeded in including the image form at the head of each page using a master page, but each image form only affects the page it is on. Ideally, I would like to have the user be able to select the image on one page, and have all of the image fields populate.
    Is there any way to use a script to populate the other images when the first image is selected by the user? I tried setting the rawValue of one image to that of another once the other is chosen, but had no success.
    Thanks,
    Michelle

    Thank you for the responses. I have already updated awhile ago, so I am wondering what happened. Not sure if during the server update, some files were replaced (unless I totally forgot to update to 1.0.1 on this site). So I reinstalled 1.0.1, deleted the includes folder from the server and uploaded my includes folder and it now works again.
    Again, thanks for the help.
    Jeremy

  • Multiple UWL for the single user with different Role

    Dear SAP Gurs,
    We have one critical requirement on the Universal worklist, as a functional requirement like some Approvers will play different roles as approver, needs to track saperately the approver inboxes for the same person.
    For Example :
    Approver A - is an Purchase Exicutive(Role)
    Approver B - Is an Purchase Manager(Role)
    Every time Apporver A has to access his approval requests seperately ( Belongs to Approver A) and take action, as well Approver A has to see Approver B's actions items seperatly and take action.
    currently we have 4 levels available and single person has to take action on based on the 4 different Approves(Role)
    Is there any work around for the abobe requirement.
    Thanks in advance,
    Vinod
    Edited by: Vinod Malagi on Jul 20, 2010 3:33 PM

    Hi Karri,
    The same requirement i want to tweak in by adding one more column in the UWL by enhancing the BOR.
    i have try with below , can you please suggenst can be done by Virtual attributes.
    Once data is comming in the UWL i will put 3 custome filters
    We need to add a new column in UWL, which is present as a Table SWWORGTASK, in this we have to pass WI_ID and get ORG_OBJ populate it as a column in UWL.
    Please suggent how can we impliment this ? do we needs to create virtual ttribute in the BOR from the same.
    as we have reffered the below link, we are not able to implimant the same. Kindly suggest.
    http://www.erpgenie.com/sap/abap/bor.htm
    Thanks in advance
    Vinod

  • How to check if a user session is active in Java application server

    Hi Experts,
          We have a online scenario with a third party system by which a portal user will launch the third party application in a new window from portal. The SSO will work at the third party web application with the dynamic key that is generated by calling a webservice for that user. Now, as the user works on the launched screen, they will have to check whether the user (logged in portal) session is still active. ie., they will be periodically calling a service hosted by SAP java application server to find out whether the corresponding user who launched the session is still logged in or logged out.
    So, my question is, how can i find out programatically whether a user/user's session is still logged in/active in SAP Netweaver Java AS? We are in version 7.3.
    Kindly help me in this regard.
    Regards
    Vijay.K

    Hi Vijay,
    Could you check below links
    Tracing Single User Sessions - Administration - SAP Library
    Display and Manage User Sessions (SAP Library - Tools for Monitoring the System)
    Hope this helps.
    Regards,
    Deepak Kori

  • ISE Guest-Account Single-User Multiple Logins

    Hello,
    How to make ISE to only allow  one guest-user account login at a time.    the actual issue I have is- when I give one Guest user-id to someone, he can circulate that user-id with others and multiple unauthorized guests can use that single user-id to connect to Guest-portal
    Anyway to restrict that ?

    Restricting Guests to One Active Network Session
    You can restrict guests to having only one device connected to the network at a time. When guests attempt to connect with a second device, the currently-connected device is automatically disconnected from the network.
    This is a global setting affecting all Guest portals.
     Step 1 Choose Administration > Web Portal Management > Settings > Guest > Portal Policy.
    Step 2 Check the Allow only one guest session per user option.
    Step 3 Click Save .

  • Single Database Session Per User in ADF/BC Application

    Hi, I am using ADF with BC (JDeveloper 11.1.1.1). My application contains multiple application modules, each connected to the same JDBC data source. On the app server, I have configured the data source to use Identity Based Connection Pooling.
    My current configuration is resulting in numerous database sessions for each user. I have a requirement to use only a single database session per user HTTP session. Is there any way to configure the application modules to achieve this?
    Thanks,
    Brad

    Hi,
    use a single root Am module and make sure the others are used as nested modules. This will create a single connection
    Frank

  • Multiple Logins of single user

    How do we prevent a single user from multiple logins on IDM.
    If the user has already logged-in, IDM should prevent the same user when tries to login again.
    Thanks.

    This is really difficult to implement. The app server takes care of most of this session behaviour and we can have mulitple IDM instances in a setup which makes this really difficult.
    The other thing is how would you detect a second login? Does the second login come from the same IP or different IP? There are possible problems with all these scenarios.
    It is an oustanding enhancement to give you this option but it will not come soon.
    WilfredS

  • How open multiple responsibilities in the same user login session in R12 ?

    Dear All,
    Can anyone help me to know how to open multiple responsibility in the same user login session in R12 ?
    Thanks..
    Edited by: G-oracle on Sep 18, 2011 11:22 AM

    Can anyone help me to know how to open multiple responsibility in the same user login session in R12 ?What do you mean by open multiple responsibilities in the same session? You can only see the menu of one responsibility at a time, so how to do you expect the application to let you see multiple responsibilities/menus in one session?
    You could open another session and this way you can access more than one responsibility at the same time.
    Thanks,
    Hussein

  • How to provision multiple AD Accounts to a single User Profile in OIM

    Hi,
    We are using OIM 11g R2. We have implemented AD Provisioning/Reconciliation using Active Directory 11g Connector.
    The correlation rule for linking AD accounts with OIM during target recon is set as “Email ID”
    We have some business requirement where we want to provision multiple AD Accounts to a single User Profile in OIM.
    Issue we are facing:
    Suppose we have USERID1 in OIM which has email id as USERID1@ XYZ.COM .
    After that we have provisioned sAMAccountName=USERID1 (Email ID as USERID1@ XYZ.COM )& sAMAccountName=USERID2 (Email ID as [email protected]) to the user User Login = USERID1 in OIM.
    Both the AD User accounts can be seen as provisioned.
    After we run the AD Target Recon, the target recon is failing because of “Multiple Process Matches Found” issue.
    Question here is:
    Is it possible to maintain/manage multiple AD Accounts (Same AD is used for all the multiple AD Accounts) to a single OIM profile user ?
    Regards,
    J

    Hi,
    We have seen its working and linking multiple accounts when we have Key field as "User ID" in the Process Defn & RO and the recon matching rule has email ID as the matching rule.
    Please suggest, if we are having the above kind of rule/config...will it not cause any issue?
    Regards,
    J

  • I run a mac air on a single user account but multiple people using it, which is ok for the situation. All have their accounts in the apple mail app. what is missing for me is a separate password to access the mail account. otherwise anyone can see anyones

    I run a mac air on a single user account but multiple people using it, which is ok for the situation. All have their accounts in the apple mail app. what is missing for me is a separate password to access the mail account. otherwise anyone can see anyones
    Any clue, how i can add a mail account to apple mail app, but with separate password / pin to open it.
    Years ago there was a program called mail switcher which added this functionality, but thats gone.
    cheers
    Tom

    They would have to be logged in as separate users in order not to see your account in Mail. Whatever accounts put in Mail under your account will show up. All mail accounts usually have there own user and password. The only thing you can do is to remove the password from Keychain and take the account offline so you don't keep getting prompts for passwords each time it checks for mail.
    Not a great solution.
    Best way is to give the other user their own user account with their own mail and enable fast user swithcing to log between the different users if all access the computer frequently.

  • Single user mode session lost after backgound processes jump in

    We have an application running on SQL server. This application restores DB very frequently using Single user mode. Following are the SQLs that are executed to restore the database in single user mode and to get the database back in multi user mode.
    alter database [test-db] set single_user with rollback immediate; --This sql is run using test-db
    use master;restore database [test-db] from database_snapshot = 'snapshot_test-db';
    alter database [test-db] set multi_user;
    After switching the test-db to single user mode some 4-5 background processes of Taskmanager jump in for the test-db kicking off the session that application has taken over in single user mode . These background process are deadlocked between them selves.
    Please refer to the output of sp_who2 below at link.
    http://social.microsoft.com/Forums/getfile/200625
    and following is the deadlock XML.
    NOTE: SPIDs in deadlock XML may differ from the output of sp_who2 as spids keeps on changing for these processes.
    <deadlock-list>
    <deadlock victim="process4bbfc78">
    <process-list>
    <process id="process4bbfc78" taskpriority="0" logused="10000" waitresource="DATABASE: 5 " waittime="705" schedulerid="1" kpid="1648" status="background" spid="22" sbid="0" ecid="0" priority="0" trancount="0">
    <executionStack/>
    <inputbuf>
    </inputbuf>
    </process>
    <process id="process6d44388" taskpriority="0" logused="10000" waitresource="DATABASE: 5 " waittime="419" schedulerid="1" kpid="5796" status="background" spid="30" sbid="0" ecid="0" priority="0" trancount="0">
    <executionStack/>
    <inputbuf>
    </inputbuf>
    </process>
    <process id="process6d44718" taskpriority="0" logused="10000" waitresource="DATABASE: 5 " waittime="109" schedulerid="1" kpid="3908" status="background" spid="16" sbid="0" ecid="0" priority="0" trancount="0">
    <executionStack/>
    <inputbuf>
    </inputbuf>
    </process>
    <process id="process4bbee38" taskpriority="0" logused="10000" waitresource="DATABASE: 5 " waittime="313" schedulerid="1" kpid="2656" status="background" spid="15" sbid="0" ecid="0" priority="0" trancount="0">
    <executionStack/>
    <inputbuf>
    </inputbuf>
    </process>
    </process-list>
    <resource-list>
    <databaselock subresource="FULL" dbid="5" dbname="unknown" id="lock4671600" mode="S">
    <owner-list>
    <owner id="process6d44718" mode="S"/>
    <owner id="process4bbee38" mode="S"/>
    </owner-list>
    <waiter-list>
    <waiter id="process4bbfc78" mode="X" requestType="wait"/>
    </waiter-list>
    </databaselock>
    <databaselock subresource="FULL" dbid="5" dbname="unknown" id="lock4671600" mode="S">
    <owner-list>
    <owner id="process4bbfc78" mode="S"/>
    </owner-list>
    <waiter-list>
    <waiter id="process6d44388" mode="X" requestType="wait"/>
    </waiter-list>
    </databaselock>
    <databaselock subresource="FULL" dbid="5" dbname="unknown" id="lock4671600" mode="S">
    <owner-list>
    <owner id="process4bbfc78" mode="S"/>
    </owner-list>
    <waiter-list>
    <waiter id="process6d44718" mode="X" requestType="wait"/>
    </waiter-list>
    </databaselock>
    <databaselock subresource="FULL" dbid="5" dbname="unknown" id="lock4671600" mode="S">
    <owner-list>
    <owner id="process4bbfc78" mode="S"/>
    </owner-list>
    <waiter-list>
    <waiter id="process4bbee38" mode="X" requestType="wait"/>
    </waiter-list>
    </databaselock>
    </resource-list>
    </deadlock>
    </deadlock-list>
    On searching for this problem I found out that people have faced similar problem but I was unable to find out the root cause and debug steps for this problem. Stopping the SQL server is provided as a solution to kick out these background processes but this
    is not a feasible in our case as code to restore DB runs very frequently resulting in this problem at a good frequency.
    I also made sure that SQL Server Agent is not running. The SQL services running on server are SQL server, SQL Server Browser and SQL Server VSS Writer.
    Any help will be appreciated as this is a blocker problem.
    Thanks,

    Hi Amrita,
    We can open a transaction, make data modifications to generate a lot of transaction log, and then run ALTER DATABASE AppDB SET MULTI_USER in the same transaction. You can also refer to the following document:
    Getting out of single user mode:
    http://blogs.msdn.com/b/dfurman/archive/2012/01/20/getting-out-of-single-user-mode.aspx
    Allen Li
    TechNet Community Support

  • Do iMacs come with multiple or single users

    I am going to buy a mac soon and I am going to be the only person using it. Do iMacs come with single or multiple users software?
    Thanks, Eva
      Windows XP  
      Windows XP   I will be getting my own iMac this November I have a green Mini named PeaPod

    The default configuration for a new Mac is a single user configuration. If you migrate user accounts from a different machine, you will have multiple users on that computer when you first log in. You can also create additional accounts from the Accounts pane of System Preferences. In any case, there are several system-level accounts and groups, which will not be visible on the login screen or in System Preferences.
    (15718)

  • Multiple user sessions for ADF application

    Hi All,
    We have a ADF application with 3-4 pages starting with a login screen.
    Assume we have two users, user1 and user2. In same system but different browser windows, when both users are logging in, only user2 's session is active. Though user1 logged in first and is able to perform transactions, the moment user2 logs in, user1's session is being over-written by user2 (user1's window now displays user2's information). I have observed the URL of user1 window which now changes to user2's URL (_adf.ctrl-state parameter of user2 is displayed in user1 browser)
    How do we overcome this?? We have a requirement to be able to open multiple user sessions.
    We are using JDeveloper 11.1.2.3.0 and browsers being used are IE 8, IE9 and chrome.
    Thanks,
    Deepti

    Hi,
    Continuation to my above question
    I am using these two statements in my code..
    ExternalContext ectx = FacesContext.getCurrentInstance().getExternalContext();
    HttpSession httpSession = (HttpSession)ectx.getSession(true);
    On any event in Window1, I gues it is getting the context and session of window2(this being the latest)..
    Shouldnt it return the context and session of the current window instead of the latest window???
    This problem is well explained here
    internet explorer 8 - How to avoid session sharing provided by IE8 programmatically in Java EE application? - Stack Over…
    I want to know.. what is the best way to handle this in ADF... We are using managed beans with request scope and using HttpSession to store few values like user Id.

Maybe you are looking for

  • How to find out the encoding of a file

    How to findout the encoding of a file being read? Thanks in advance?

  • Scheduling can not be carried out

    Hi Gurus, i am facing some problem in scheduling of production orders,during creation of production order system gives an error message "No reqmts/caps exists or not relevant scheduling". I have already defined the capacities in capacity header tab p

  • How to un-group columns on my the report and how to add an export to PDF

    Hello OBIEE developers... So, I have this report with about 7 columns, I just submitted to my boss he came back saying "Don't group the columns, the users typically want to see data on each row".... I am not quite sure what in the world he is talkign

  • Opening signature dialogue with a click on a button

    Hi all, I have a simple question, How is it possible to open the signing dialogue (like when you click on the signature field) from another button. I mean - I have a simple test form with one button and one signature field and I want to open the sign

  • How to create a job for proces chain

    Hi All, I have a process chain that gets a trigger (.txt Trigger file) in AL11 inbound foulder..... we will check for the same trigger in AL11...if it is available..we will trigger the chain using sm64 ... now, i want to create a job for the same and