Obtaining remote user information for Medrec in Wls 10.3

I am trying to get the remote user information by invoking the getRemoteUser() method on the following request object
faces.context.MyHttpServletRequestWrapper
from within the MedRec application. This has always worked in the past on previous versions of Weblogic and Medrec.
Does anybody know what has changed in 10.3?
I can fetch the ip and url from the same object successfully.
thanks
Mike

I think error message tells everything you need to know.
Please set in weblogic-ejb-jar.xml deployment descriptor because parameter object is not serializable.
<enable-call-by-reference>True</enable-call-by-reference>
With this it will allow to invoke EJB locally.
jayesh@yagna

Similar Messages

  • How can i obtain a user guide for the ipod nano 16GB 5th gen. with out printing it off the computor

    How can i obtain a user guide for the ipod nano 16GB 5th gen. without printing it off the computor.

    You can't, at least not the one provided by Apple.
    B-rock

  • Obtaining SAP User information from J2EE Application

    Hi All,
    I am using SAP NetWeaver Developer Studio to create a J2EE Application, which requires accessing user information from SAP coming from Windows Active Directory.
    My question is as follows;
    Is there a possibility in a J2EE application to use an API to obtain user information (ie. from com.sap.security.api.jar) just like in a regular WebDyn Pro Application?
    For Archive Build Info (compile time), do I need to import specific JARs? For runtime, do I need to load any project reference?
    Thanks in advance,
    Michael

    Yes, I have added 'Run time' as well as 'Build time' for the com.sap.security.api.sda DC as well as for com.sap.tc.Logging DC.
    I have also added the following references to application-j2ee-engine.xml file:
    <application-j2ee-engine>
         <reference
              reference-type="hard">
              <reference-target
                   provider-name="sap.com"
                   target-type="library">com.sap.security.api.sda</reference-target>
         </reference>
         <reference
              reference-type="hard">
              <reference-target
                   provider-name="sap.com"
                   target-type="library">com.sap.tc.Logging</reference-target>
         </reference>
         <provider-name>srl.com</provider-name>
         <fail-over-enable
              mode="disable"/>
    </application-j2ee-engine>
    I am still experiencing the same problem:
    java.lang.NoClassDefFoundError: com/sap/tc/logging/Location
         at com.sap.security.api.UMFactory.<clinit>(UMFactory.java:178)
         at srl.com.birthday.daemon.BirthdaysDaemon.loadEmployeesUser(BirthdaysDaemon.java:114)
         at srl.com.birthday.daemon.BirthdaysDaemon.run(BirthdaysDaemon.java:72)
         at java.lang.Thread.run(Thread.java:534)
    Is there any other JAR I forgot to add to my used DC? Is the security JAR dependant on something else?
    Thanks,
    Michael

  • How do I get the user information for a page?

    I would like to display information about the person that created a page in CQ.  I know I can get the createdBy information from the page properties, but how can I turn that into a user object where I can get more detialed information about that user?

    If you are within an OSGi bundle you can use the SlingRepository Service. Now it depends how you develop your OSGi services and components. I use the maven scr plugin for this. With this plugin it is possible to get references to services with java annotaions.
    Example:
    @Component(name="SampleService",
            label = "SampleService",
            description = "SampleService",
            immediate = true, enabled = true, metatype = true)
    @Services({ @Service(value = SampleService.class) })
    @Properties({
    @Property(name = "service.description", value = "SampleService"),
    @Property(name = "service.vendor", value = ") })
    public class SampleServiceImpl implements SampleService
    @Reference(policy = ReferencePolicy.STATIC)
    private SlingRepository repository;
        public void openAdminSession() {
            Session session = null;
            if (repository != null) {
                try {
                    session = repository.loginAdministrative(null);
                    //do something here
                } catch (RepositoryException e) {
                    LOG.error("Unable to open admin session:" + e.toString());
                } finally{
                                              if(session != null){
                          session.logout();
    To access a service from a JSP page you can use the reference of the SlingScriptHelper. You have to use the <cq:defineObjects/> tag.
    Example jsp:
    <cq:defineObjects/>
    SlingRepository repository = sling.getService(SlingRepository.class);
    Session session = null;
            if (repository != null) {
                try {
                    session = repository.loginAdministrative(null);
                    //do something here
                } catch (RepositoryException e) {
                    LOG.error("Unable to open admin session:" + e.toString());
                } finally{
                                              if(session != null){
                          session.logout();

  • Setting default user information for Pages templates

    Over time I've added email & phone numbers to "my card" in Address book. How can I tell Pages which address & phone number to use for templates like Letters etc. right now it seems to pick old addresses & phone numbers (which I still need in my card, they just are not my first choice anymore.)
    (Right now, I'm using Modern letter, but it applies for others as well.)
    I know I could create my own templates, but it would be nice to be able to just use the builtin templates.
    I can't find any preference in Pages or way to indicate a default in Address book.
    thanks

    But, to me, it seems logical that this would work.
    Use -and instead of -or.
    EDIT: To summarize, here's how you can get all mailboxes except a few:
    $mbxs = Get-Mailbox | Where { $_.SamAccountName -ne 'bigboss' -and $_.SamAccountName -ne 'someoneelse' }
    Here's how you'd return only the specific mailboxes you want:
    $mbxs = Get-Mailbox -Filter "SamAccountName -eq 'user.three' -or SamAccountName -eq 'user.four'"
    Don't retire TechNet! -
    (Don't give up yet - 13,085+ strong and growing)
    Thanks for all the responses! This was exactly what I was after, and it works perfectly. There is, however, one final question, if I may.
    Before submitting the final command to amend the Default user permissions on every mailbox within the variable, I would like to export the values of these to a .txt file. So, I'm submitting the code below, but I don't know how to push the results out to
    a .txt file (ideally without it also printing the results to the console window).
    foreach ($m in $mb) { Get-MailboxFolderPermission -Identity $($m.UserPrincipalName+":\calendar") -User Default | fl }
    I've tried adding the following both within the parenthesis of the foreach loop and outside of it but it doesn't work.
    > C:\tmp\calendar.txt
    I also tried the following.
    | Add-Content C:\tmp\calendar.txt
    But this did not output the same data as it does when I leave this bit out.

  • How to get information on remote user?

              How does one get the remote user using WebLogic 6.1 and JSP. Normally, I'd use
              request.getRemoteUser(); - but testing that using WebLogic - I got 'system.'
              Is there any way to get the remote user information using CGI variables with WL?
              Thanks.
              

              request.getRemoteUser() works just fine for me. What sort of authentication does
              your web app use? If you don't use authentication, the user is 'system'.
              simon.
              "Amy" <[email protected]> wrote:
              >
              >How does one get the remote user using WebLogic 6.1 and JSP. Normally,
              >I'd use
              >request.getRemoteUser(); - but testing that using WebLogic - I got 'system.'
              >
              >Is there any way to get the remote user information using CGI variables
              >with WL?
              >
              >Thanks.
              

  • Show information for BPM process instances to possible future assignees

    Hi all,
    My environment is 11.1.1.4.
    I want to develop an ADF application that shows users information for BPM process instances which will possibly produce a user task assigned to them in the future.
    What I have done is
    1. Get BPMAppRole from the user name.
    2. Get the list of CompositeInstance with STATE_RUNNING from the BPM process name obtained from the BPMAppRole.getName().
    From the list of CompositeInstance, I have to extract the instances that will possibly produce a user task assigned to the user in the future.
    But I have no idea how to do this.
    Maybe my current approach is totally incorrect.
    Please help!
    Regards,
    Kenji

    Hi,
    By chance I found a method that you can use:
    oracle.bpel.services.workflow.query.model.TaskSequence getTaskSequence(oracle.bpel.services.workflow.verification.IWorkflowContext p1, oracle.bpel.services.workflow.task.model.Task p2, java.util.List p3, java.util.List p4, java.util.List p5, boolean p6) { }
    getTaskSequence might help you. This is under ITaskQueryService interface.
    HTH.

  • Accessing Windows User Information

    I have a site set up that has a customised section that is
    different depending on what computer they are accessing the site
    from.
    I currently achieve this by using a switch statement on the
    computer's IP address. However, in the near future we are having a
    windows domain set up and this code will not work as all IP
    addresses show as the same when on the domain.
    Is it possible to automatically obtain the user information
    of the logged in (to windows) user? If so, how is that done?!
    All I would need is their username (as their username will
    always be unique.)

    jeenious wrote:
    > I'm using Apache web server and #cgi.auth_user# is
    therefore null. Is there a similar variable for Apache?
    Providing Active Directory authentication via Kerberos
    protocol in Apache
    http://support.microsoft.com/kb/555092
    Good luck. This is beyond my experience and comfort in
    tweaking Apache,
    so we have never implemented this solution.

  • Reliable User Identification for WAP Sites

    Hi,
    We have a wap site serving java games for customers. We get the user information from the WAP gateway x-msisdn http header. But we cannot get any user information for another Operator who not set x-msisdn header. This is not the real problem but it will be nice to overcome it.
    The real problem is that if we use a phone emulator (ex.openwave phone simulator) we can set whatever http header we want and connect to the site as if we are connecting from a mobile phone with whatever msisdn we want.
    And the question is, how we can identify users securely? Is there a method for this? Can we diffrentiate the requests by coming from a real mobile device or coming from a simulator?
    An idea, if we check the request comes from the gateway will it be reliable? What if users use "internet apn" wouldnt they be eliminated by this method? Is there any phone model setting x-msisdn by itself without the need of wap gateway?
    Asked many questions but i think they all related to solve this issue. I will be grateful for any ideas. Thanks in advance...

    The IP is always stored in the log file on a server if you visit a website. It is the same on forums if you post a message. An Administrator can always access such a log file, but that data isn't part of the crash report AFAIK.

  • Users guide for the HP lightscribe DVD 640

    Where/how do I obtain a Users Guide for the HP Lightscribe DVD 640?

    Hi,
    You can find User guides and many support materials from the following link:
       http://h10025.www1.hp.com/ewfrf/wc/product?cc=us&lc=en&dlc=en&product=462850
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • Change user information,

    Hi
    I need to change user information (for example name and email). I find only class and methods that give user info, but nothing to set this informations.
    Thanks
    Andrea

    Hello Andrea,
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/javadocs/nw04/sp12/user management engine - version 4.0/com/sap/security/api/iuserfactory.html
    //Get a user object which can be modified.
    IUserMaint getMutableUser(java.lang.String uniqueId)
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/javadocs/nw04/sp12/user management engine - version 4.0/com/sap/security/api/iusermaint.html
    //Sets the user's first name.
    boolean setFirstName(java.lang.String firstname)
    //Sets the user's default email address.
    boolean setEmail(java.lang.String email)
    Don`t forget to call IUserMaint.commit() method to commit changes.
    Best regards, Maksim Rashchynski.

  • Disable 'retrieving remote folder information'?

    Is there any way to disable the 'retrieving remote folder
    information' query? It causes a delay of about 10 seconds every
    time I switch into the expanded local and remote sites view. It is
    incredibly annoying.
    I work in the full-screen file and folder view quite often. I
    find it easier to browse the local view in full-screen mode. I
    rarely browse the remote folders and files so I could care less if
    the view is up to date. I would refresh it manually, if possible.
    Does Dreamweaver CS3 behave the same way? I would gladly
    upgrade to get rid of this annoying behavior (along with the
    'background file activity' dialog).
    Thanks.

    Meriphew wrote:
    > Hi all - I'm using DW MX and trying to upload files to a
    remote server(I'd
    > previously used Frontpage, this is my first site using
    DW). When I click on the
    > 'Put Files' arrow, I get a messg that reads "Retrieving
    remote folder
    > information for /meriphew." I can't tell if it's
    actually doing anything or
    > not, as there's no status bar. Is this normal or have I
    run into some kind of
    > error/freeze? Thx for any assistance.
    >
    >
    >
    It is normal, Dreamweaver is a snail-slow FTP program.
    But after a while, the message should change and you should
    see your remote files appear in the
    remote files side. No?
    seb ( [email protected])
    http://webtrans1.com | high-end web
    design
    Downloads: Slide Show, Directory Browser, Mailing List

  • User Information checkboxes in remote web service

    They have these checkboxes there for a reason - ease of property retrieval in a remote portlet. However, I'm unable to retrieve these values w/o using the IObjectManager and IExtendedData. If I'm using the .net app accel 1.1 and my portlet page is inheriting from the ALIPortletPage class, how the heck do I easily retrieve the user's email or full name or company name or any of the checkboxed values?
    Right now I achieve this like this:
    IRemoteSession currSession = RemoteSessionFactory.GetTokenContext(this.RemoteAPIEndpoint, User.LoginToken);
    IObjectManager objMgr = currSession.GetObjectManager(ObjectClass.User) as IObjectManager;
    IExtendedData extData = objMgr.QueryExtendedData(this.User.ID) as IExtendedData;
    // employee id
    extData.GetValue("Employee Id").ToString();
    // company
    extData.GetValue("Company").ToString();
    This works fine, but there must be an easier way than this if they're explicity offering checkboxes at the web service level for the most used properties. Anyone?

    Are you trying to get info about a random user? or the currently logged in user?
    There appears to be a transformer tag to retrieve info about the logged in user:
    The userInfo tag is replaced with the value of the specified User Information setting. Note that this tag uses camel case for the tag name (userInfo).
    Example:
    <pt:userInfo pt:name="FullName"/>
    http://edocs.bea.com/en/alui/devdoc/docs6x/api_libraries/tagdocs/ali/6.5/transformer/userinfo.html

  • AD SSO not happening for Remote Users

    Dear Members
    I am having an issue with the NAC Deployment for Remote users (Users behind WAN Router)
    Windows AD SSO (2008) is happening for LAN users successfullly, however remote users
    are not able to do AD SSO.
    it is ensured that remote users even in unauthenticated state can reach Active directory. there is no filtering
    on any of the device across the path, for this communication.
    When i use Kerbtray on the remote PC, i found no tickets at all.(i am logged in thru Domain)
    what could be going wrong, is it delay (as they are wan user) which might attribute this issue, and if so, where are the needed parameters that can be tuned for AD SSO to happen.
    Any help will ne highly appreciated.
    thanks
    Ahad

    Hi Ahad,
    As long as ALL the policies in Table 8-1 are configured for the Unauthenticated Role
    http://www.cisco.com/en/US/docs/security/nac/appliance/configuration_guide/48/cas/s_adsso.html#wp1174219
    the CAS should be out of the picture for what concerns the communication between the PC and Kerberos.
    If the Kerbtray.exe output for a failing user is empty, it means that the unsuccessful users do not have any Service Ticket (ST) at all.
    This points to an issue with AD (considering the fact that the CAS is already allowing all the traffic to/from AD).
    The failing users are either unable to send the Ticket-Granting Ticket (TGT) to AD, or they are unable to obtain the Service Ticket (ST) from AD.
    The CAS during this phase is neither performing any actions nor blocking any traffic, since all the communications to/from AD are already fully open in the unauthenticated role.
    Regards,
    Fede
    If  this helps you and/or answers your question please mark the question as  "answered" and/or rate it, so other users can easily find it.

  • [ConfigFwk:390105]Unable to create WLS change list due to a short term automatic lock obtained by user null

    Hi,
    I am getting this error while trying to activate a session in OSB (clustered env with 3 nodes). I have a OSB project which listens to a JMS queue. I was able to create the project fine and was able to activate the session, no issues. But when I tried to update the queue name or delete the project itself, this error gets thrown:
    [ConfigFwk:390105]Unable to create WLS change list due to a short term automatic lock obtained by user null. The user has no pending changes and the lock will expire in 600 seconds. Please try again after the lock has expired.
    Retrying after those seconds takes me back to the same error but the time get's reset to 600 sec.
    I can change the code in that project and activate the session without any issues but if I change any configuration for proxy/business services or delete the project itself, i get this error. the only way to get around this issue is to clone the project and make changes to the cloned project. But, that is not the solution i am looking for as I don't want to keep a old version of the project and don't want to keep creating new queues everytime (since no two proxies can point to the same queue).
    Oh, and this happens only with the projects which deal with JMS queues.
    We are using OSB:
    Oracle Service Bus Version: [Oracle Service Bus 11.1 Sun Dec 18 03:49:34 PST 2011 1447174]
    Oracle Weblogic Server Version: [WebLogic Server 10.3.6.0.10 PSU Patch for BUG19637463 TUE NOV 04 15:54:42 IST 2014]
    Please help.
    Thanks,
    Mukund.

    Hi,
    I am getting this error while trying to activate a session in OSB (clustered env with 3 nodes). I have a OSB project which listens to a JMS queue. I was able to create the project fine and was able to activate the session, no issues. But when I tried to update the queue name or delete the project itself, this error gets thrown:
    [ConfigFwk:390105]Unable to create WLS change list due to a short term automatic lock obtained by user null. The user has no pending changes and the lock will expire in 600 seconds. Please try again after the lock has expired.
    Retrying after those seconds takes me back to the same error but the time get's reset to 600 sec.
    I can change the code in that project and activate the session without any issues but if I change any configuration for proxy/business services or delete the project itself, i get this error. the only way to get around this issue is to clone the project and make changes to the cloned project. But, that is not the solution i am looking for as I don't want to keep a old version of the project and don't want to keep creating new queues everytime (since no two proxies can point to the same queue).
    Oh, and this happens only with the projects which deal with JMS queues.
    We are using OSB:
    Oracle Service Bus Version: [Oracle Service Bus 11.1 Sun Dec 18 03:49:34 PST 2011 1447174]
    Oracle Weblogic Server Version: [WebLogic Server 10.3.6.0.10 PSU Patch for BUG19637463 TUE NOV 04 15:54:42 IST 2014]
    Please help.
    Thanks,
    Mukund.

Maybe you are looking for

  • Proxy to Proxy Scenario with sender and receiver on same instance

    Hi, I have a scenario to integrate Erecruit to HR system usng standard content. Both the Erecruiting and HR are on same instance so my sender and receiver is the same system. Standard ABAP proxies are provided. Now I need some help in how to configur

  • Hide value in interative report where it stored in DDIC table?

    hi, In interactive report, after hide , value is stored in SAP memory, and it also stored in one DDIC table, can any one tell me this DDIC table name. thanks in advance sarath

  • Plain raw format - DNG conversion

    Dear All, Would you guide me regarding to converting plain raw format file to DNG file? <definition> 1. plain raw format file - the file is composed of Bayer pixel array. For example, 5M pixel raw file is composed of sequential 2592 x 1920 pixels, ea

  • Saving 100,000 records in a loop too slow

    I have an explicit cursor then a for loop on it and an update statement inside the loop it works but it does 100,000 individual updates which is not good for performance speed, any ideas to speed that up My loop is FOR code_rec IN cur_codes_table LOO

  • Downgrade firmw

    Hi, I know the latest firmware for Zen micro is Creative Zen Micro Firmwarle ..0 but i need to downgrade the firmware to an older one. With this firmware i need to install Zen to be able to charge it using other Pcs USB port but with the old firmware