MRI / web services / check user at the login document rights

HelloW,

How to check if the user can read sealed document?


Sealing server can be used to obtain the Classification (Peeking http://download.oracle.com/docs/cd/E21764_01/user.1111/e12326/isvsealedcontent001.htm#DAFHIHIH)
"The classification is used by the Office of IRM Oracle to determine if the * authenticated user * access the sealed content.

How can I do the same thing if I know the login user name?

Hello

There is no direct way to say "user X has the right to open this document? However, you can find a way to do it using listRightsByAccount(). This returns an array of the document rights for the user which you can then analyze to see if the user has the context and actionable. Look here for listRightsByAccount:

http://download.oracle.com/docs/cd/E14571_01/apirefs.1111/e12907/oracle/irm/j2ee/jws/rights/context/DocumentRightOperationsEndpoint.html#listRightsByAccount_oracle_irm_engine_types_core_account_AccountRef_

You can supply a user name or user GUID (look at the defintiion of AccountRef).

Kind regards
Frank.

Tags: Fusion Middleware

Similar Questions

  • By using the web service ActionsService to load the account data

    Hello

    We are looking to automate the loading data of an EPM - HFM Application accounts.

    We wre able to charge through the front-end server. About Automation, we were able to configure GOSA strategies for the web service, create the native user in console weblogic and import and use the public key of client web service proxy.

    The URL of the wsdl file that we ask is http://192.168.50.21:7363 / oracle-EMP-fm-Web services/ActionsService? wsdl

    The method we are trying to call is iActionsService.loadData ("clustername", "name the Application", "E:\\testpad\\Hyperion\\data\\DATA.txt", null, ",", DataLoadMode.MERGE, false, false);

    The errors below are found in the file log immediately after the race. Please help us find what needs to be done in the setting of these errors. Are we sending the right params to the web service?

    Do we still need to make other changes to weblogic/em to make this work? Please suggest.

    Oracle EPM-edition of Fusion

    version - 11.1.2.4.0.79

    Thank you and best regards,

    Guna

    Newspapers, we find that

    We might be able to connect to the application - Session is created with the Session id: 5e95de6f-e828-4121-8765-36c186e72355

    An unexpected error has occurred-

    oracle.epm.fm.common.exception.HFMException: EPMHFM-65536: an unexpected error has occurred.

    at oracle.epm.fm.common.exception.ExceptionHelper.handleException(ExceptionHelper.java:45)

    at oracle.epm.fm.domainobject.loadextract.LoadExtractOM.loadData(LoadExtractOM.java:281)

    Error EPMHFM-65925

    java.lang.NullPointerException

    at org.apache.thrift.protocol.TCompactProtocol.writeString(TCompactProtocol.java:325)

    at oracle.epm.fm.thrift.protocol.TMultiplexedProtocol.writeString(TMultiplexedProtocol.java:112)

    to oracle.epm.fm.common.service.loadextract.LoadExtractHandlerService$ loadData_args$ loadData_argsStandardScheme.write(LoadExtractHandlerService.java:10236)

    to oracle.epm.fm.common.service.loadextract.LoadExtractHandlerService$ loadData_args$ loadData_argsStandardScheme.write(LoadExtractHandlerService.java:10152)

    to oracle.epm.fm.common.service.loadextract.LoadExtractHandlerService$ loadData_args.write(LoadExtractHandlerService.java:10087)

    at org.apache.thrift.TServiceClient.sendBase(TServiceClient.java:63)

    to oracle.epm.fm.common.service.loadextract.LoadExtractHandlerService$ Client.send_loadData (LoadExtractHandlerService.java:639)

    to oracle.epm.fm.common.service.loadextract.LoadExtractHandlerService$ Client.loadData (LoadExtractHandlerService.java:629)

    at oracle.epm.fm.domainobject.loadextract.LoadExtractOM.loadData(LoadExtractOM.java:269)

    at oracle.epm.fm.actions.LoadDataAction.execute(LoadDataAction.java:100)

    at oracle.epm.webservices.fm.ActionsService.LoadData(ActionsService.java:315)

    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    Post edited by: 2837182

    Got it working now.

    Case of a brain freeze. The data file must be located on the server.

  • How to configure a web service primavera to return the data in the second database?

    Hello world


    We have P6 with WS first deployment on a single weblogic domain server. The first WS returns the first instance of database data.

    Then deployed to the WS second tip on a weblogic domain server separated with a different port. Set up the second WS with < WS2_INSTALL_HOME > / bin/dbconfig.sh, creating a new branch a configuration that specifies one second instance of the database. However, this configuration is ignored, and the second web services return data from the database.

    We have a single domain, including notably the following servers:

    Name / host / Port / deployments

    P6 / localhost / 0001 / P6 (v8.3), p6ws1 (v8.3)

    p6ws2 / localhost / 0002 / p6ws2 (v8.3)

    We have now two different files BREBootstrap.xml.

    P6 BREBootstrap.xml:

    < database >

    < URL > JDBC:Oracle:thin:@db1:1521:db1 < / URL >

    < user name > pubuser < / name >

    password <>anycriptopass1 < / password >

    oracle.jdbc.OracleDriver < driver > < / driver >

    < PublicGroupId > 1 < / PublicGroupId >

    < / data >

    < CfgVersion > 8.330 < / CfgVersion >

    <>configurations

    < name BRE = 'P6 Config_DB1"instances ="1"logDir ="anydir, P6EPPM, p6, PrimaveraLogs"/ >

    < / configuration >

    p6ws2 BREBootstrap.xml:

    < database >

    < URL > JDBC:Oracle:thin:@DB2:1521:DB2 < / URL >

    < user name > pubuser < / name >

    password <>anycriptopass2 < / password >

    oracle.jdbc.OracleDriver < driver > < / driver >

    < PublicGroupId > 1 < / PublicGroupId >

    < / data >

    < CfgVersion > 8.330 < / CfgVersion >

    <>configurations

    < name BRE = 'P6 Config_DB2"instances ="1"logDir ="anydir, P6EPPM, ws2, PrimaveraLogs"/ >

    < / configuration >

    "P6 Config_DB1" and "P6 Config_DB2" including the property database for the database 1 and 2 respectively.

    How to set up a second web service to return the data to the second database?


    Thanks in advance!


    Kind regards

    Dmitry

    So, answer oracle support:

    Looks like it is in the documentation, Web Services cannot be configured in this way as the other modules. See the following topics:

    BUG 19516437 - Is it POSSIBLE TO hardcode a DEPLOYMENT of SERVICES WEB P6 to an INSTANCE of DATABASE? (ask if this is possible)

    BUG 19579735 - FOR BEING ABLE to hardcode A P6 WEB SERVICES DEPLOYMENT to A DATABASE INSTANCE (corresponding improvement because it can be done).

    The problem has been resolved by the following:

    1 create the WebLogic domain.

    2 P6 and p6ws deployed on managed servers.

    3 configuration P6 uses the second instance of database and P6 has not begun.

    4 result: the p6ws (from additional domain WebLogic) returns data for the second instance of the database.

    Kind regards

    Dmitry

  • Bind several web service data controls on the same page

    Hello
    JDev version: 11.1.1.6.0
    I using SOAP web services. I have the following usage:
    I have the data control for the web service, that records the values entered into the form. I created the entry form using the data control (DC1).
    There is an input field [T1], on the tab, I need to fill an another text field, for which the data is returned to an another web service (DC2) data control.
    For the same input text [T1] on the tab out, I need fill in the object list in the component selectonechoice, for which the data is returned to an another web service (DC3) data control.

    Is it possible to use bind several data controls on the same page to reach the use case?
    However, I want to avoid the use of managed bean. Is it possible to do this?

    Concerning
    Fabiola

    Hello

    I can make the case to use even without the use of the managed bean?

    Yes, although the managed bean solution seems reasonable to me.

    Difficulties are

    + 1) REQ1 and REQ2 are the parameters that is common to both 1 and 3 services. +

    Text fields that provide arguments to a method are related to an input variable (file PageDef has an iterator variable in the executable section). A variable can be referenced from method arguments

    + 2) REQ1 is the parameter that is common to both 2 and 3 services. +

    Identical to 1. Create a setting for service 2 and map variables in the arguments of the method of service 3

    + 3) Service3 needs all REQ1, REQ2, REQ3, and REQ4 parameters as parameters to save the data. +

    As said, fields can be referenced from variables, dependent, the linking of the attribute fields (as I guess it is a return value in the bound field)

    There are problems of links as the same setting is available between several departments.

    It's new to me

    Is it possible to solve these problems of binding addresses?

    Yes. Make sure however that WS DC iterators you see in PageDef have their property Refresh ifNeeded for the refreshment of the bound field work properly

    Frank

  • ADF page call Web Service with several params the right way

    Hello

    I use JDev 11.1.1.4.0.

    I have a web of e-mail notification service which takes 4 parameters, to, subject and body. What I need to do, it's at the end of each "commit", calling this web service to send a notification to a group of viewers telling them a new record has been created. Here are the steps of my work to make it work:

    1. creates a data control of web service using WSDL email notification.
    2 drag - move the control of data on page jspx as a parameter in the ADF.
    3 set the Visible of the presentation of the Panel shape to "False" so that the control does not appear.
    4. in a backingbean where is the 'onSave()' method, I put the code to call the web service.
    // in onSave() method after successful commit
          ValueExpression veFrom =
              efactory.createValueExpression(elctx, "#{bindings.from.inputValue}", Object.class);
          veFrom.setValue(elctx, "[email protected]");
    
          ValueExpression veTo =
              efactory.createValueExpression(elctx, "#{bindings.to.inputValue}", Object.class);
          veTo.setValue(elctx, "[email protected]");
    
    // omitted rest of the params for brevity
    
          OperationBinding method = bindings.getOperationBinding("process");
          method.execute();
    This code works, but I don't know if I'm doing things. For some reason, there is a better way to achieve what I need.

    Thank you very much in advance for your comments francs and suggestions.

    Bones Jones

    Published by: Bones Jones on April 29, 2011 06:44

    Check out this blog of Shay - which describes exactly the same scenario:
    http://blogs.Oracle.com/Shay/2009/07/java_class_data_control_and_ad.html

    Instead of setting the visible property of panelFormLayout to false, the author removes the user interface components unwanted on the page in step 7)

    7. deletion of a component of a page JSF without deleting is mandatory

    Thank you
    Nini

  • Photosmart HP 7520: ip address for web services is not on the printer properties

    Printer is a HP Photosmart 7520, I have this printer is installed on computers laptops HP two and two are running Windows 7 Pro.  On one of the laptops (mine), when I click on devices and printers, and then right-click on my default printer that is the 7520, it has three tabs.  The third tab shows 'web services' and has an IP address for what should be the EWS page.  The property intellectual property which are listed there is an old IP address that has been recently changed.  What should I do to update that.  The fact that it is bad does not seem to affect what anyone.  The printer works perfectly to include web and eprint services.  What is also interesting is on my other laptop (of woman) which is identical to mine, the web services tab is not yet here when I click on the printer properties. I passed to the EWS page and checked the network tab.  All right.  I went to the Assistant printer HP, clicked on utilities and used the IP update.

    Hey @DennyC,

    Personally, I believe that if it ain't broke, don't fix it. If everything works as it should, that you have tested and it does, there is not need to change this list in the frame. If you want to try it though, with the exception of my first two ideas you already have tried, uninstall and install the printer is all I can think about. Right click on the printer in devices and printers, and then delete or remove. Run the HP print and doctor Scan to install the printer and check the settings.

    See you soon!

  • Is it possible to enable Web Services for eprint on the CP1025nw

    I use the HP Laserjet CP1025nw

    It is connected to a wired network with a fixed IP address.

    I am using Windows 7 64 bit

    When I click Activate to complete the configuration of Web Services - it telling me to check your internet connection.

    Internet works fine and all other aspects of the printer are working then how can I fill this configuration?

    Any suggestions please?

    Thanks John

    Problem corrected after thank you updated the firmware.

  • My native BB app, how to connect to the remote URL and call a Web service method to retrieve the XML base result using Eclipse Version 3.7.2

    Hello

    I am new to the development of native applications from BB using JDE. I'm testing Simulator. From my native BB app, I connect a remote URL and call a Web service method to extract some basic result XML.

    I need to write a login code remote URL to achieve? If so, how?

    So, how can I use this connection object to call the Web service from this URL remotely.

    Please help me out of it...

    Many thanks in advance...

    What i am doing is, On clicking the "Login" button i want to call the webservice method like below mentioned code...
    Here WaveServices is a class and getAllCinemas() is a static method inside which a webservice method call is made..
    
    loginButtonField.setChangeListener(new FieldChangeListener() {
                public void fieldChanged(Field paramField, int paramInt) {
                    WaveServices.getAllCinemas();
                }
            });
    

    Indeed, the question was raised and answered here:

    http://supportforums.BlackBerry.com/T5/Java-development/from-my-native-BB-application-how-to-connect...

  • Troubleshooting Webworks web service consumer - work on the ripple

    Hello

    I'm developing my first web service Webworks app. It works perfectly well on ripple.

    I just publish the application on my BB Bold 9700 (OS6), it opens fine, but when I fire the XMLHttpRequest.open seems have not received response from webservice.

    Is there a way to solve these issues?

          var xmlHttp = new XMLHttpRequest();
    
          function doClick() {
            var varfirstname = document.getElementById('Firstname').value;
            var varlastname = document.getElementById('Lastname').value;
    //        var url = "http://localhost:1762/EPB-Webservice.asmx/GetUserJSON?firstname=" + varfirstname + "&lastname=" + varlastname;
            var url = "http://myserver/EPB-Webservice/EPB-Webservice.asmx/GetUserJSON?firstname=" + varfirstname + "&lastname=" + varlastname;
            xmlHttp.open('GET', url, true);
            xmlHttp.onreadystatechange = callbackFunction;
            xmlHttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
            document.getElementById('results').innerHTML = "Requesting...";
            xmlHttp.send(null);
          }
    

    Thank you

    Roberto.

    Are you aware of the option of web Inspector.  You can activate it by waving before running your application on the device?  Then you can check errors and elements on the device by using the ip address of the appliance and the port 1337.

    Also do you have white registered the domain of the function in your config.xml file?

  • SOAP Web service only works if the binding variable included in the object view


    JDeveloper version - 11.1.1.7.0


    I did this video Building WS to an existing of ADF - Insider ADF application for the integration of web services SOAP at my request. It worked fine until I added a variable binding to the my view object (after which she stopped recovery of values). I tried checking the log by modifying the FINEST logging level as proposed for ADF BC Logging none of the mistakes. Please help me on changes to make it work.

    Answered by thread

    ERROR when using ViewCriteria in search of Service BC ADF

  • Account service check box in the form of the object in OIM 11 g 2

    Hello

    I have attached a form of the (linked to a resource object) object to the instance of my application. By default, Service check box account get appears in the form of the object when I click on the account on the page the user Details in the detailed information section.

    Even if it is currently disabled and not to impede the procurement process, is there a way to delete this box or hide the user?

    You will really appreciate a quick response.

    Thank you and best regards,

    Jenifer P

    Hello

    Can you please go through this link

    Section - 30.4.9 showing and hiding of attributes

    http://docs.Oracle.com/CD/E27559_01/dev.1112/e27150/uicust.htm

    The steps described above in the link can be applied to your item form to hide the field service account

  • Try to get the input parameter of a web service Yanick based on the value of the table

    Hello-

    I am new to ADF and Jdev 11 g (I'm a developer of forms). I had created a web service from a db stored pl/sql package. I can run a function with a parameter of the ADF faces.

    Instead of the input being entrable user parameter, I want to be based on a selected value of ADF table column. How to correlate the value of the selected row in the column as an input function parameter?

    I played with an ADF output text based on the table column ADF PartialTriggers the value set for the ADF... table that updates the output text based on the selected column. Can I use some kind of partial trigger on the input parameter?

    From a point of view of forms, I am looking for ownership of "Copy Item value" :)

    Two options:
    Declarative in tab link, as shown here:
    http://blogs.Oracle.com/Shay/2009/07/java_class_data_control_and_ad.html
    (its a method POJO but should be the same for a Web Service invoke).

    Or via code in your backing bean:
    http://blogs.Oracle.com/Shay/2009/06/setting_parameter_value_for_bi.html

  • HP 7520: HP 7520 - impossible to activate Web Services - tried all of the solutions only in the last forums

    There are so many messages on this error dating yeas.  I tried all.  He used to work without any problems.  I tried the changes DNS 8.8.8.8 and 8.8.4.4, I reset my routers hundred times.  I entered my IP address in my browser and tried in this way.  No matter what I tried my Services Web will not work.  I have reset the factory settings and reinstalled the software on my computer to make sure that what was allowed.  Any other tips or thoughts?  Y at - it a proxy address that I can try?

    Hello

    From your PC, download and install the latest firmware below:

    http://support.HP.com/us-en/drivers/selfservice/swdetails/HP-Photosmart-7520-e-all-in-one-printer-series/5199461/model/5199462/swItemId/OJ-113641-5

    Once done, restart your printer and try to access Web Services, tht sould restore its functionality.

    Kind regards

    Shlomi

  • How to make Windows 7 see the list of the user on the login screen, not just the last logged-on user

    I am running Windows 7 Professional 64 - bit and have two user accounts on my computer. Problem is that the login screen shows only the last logged user and one "other users" button which allows you to manually enter the username. Is it possible to return to the display of a list of all users instead?

    Jon

    OK... I found how to fix this problem. I know it's a few years since this topic (and most of the people moved to windows 8) but for those who are still Windows 7 who are tired to type the user name, whenever you log in, here is how to display the icons of the user:

    WARNING: This patch is not a hack. I do not use any third party software. I am simply change a security setting in the windows system. The longest part is to find the file. As much as I would like to say that this will fix all computers, I can't guarantee that this will be the solution for your system. This fixed my problem because my just setting should be disabled. That being said, let's move.

    As an admin (must be in an account that has administrator privileges) click the Start button and in the search at the bottom of the opening bar, the type of menu "Edit Group Policy" and press on enter. When the local Group Policy Editor window appears, click on the following arrows in the left column to expand the lists to find the file to change...

    > Computer configuration

    > Windows settings

    > Security settings

    > Local policies

    Security options<-Click on="" this="" file="" name="" or="" icon="" (the="" arrow="" icon="" won't="" do="">

    In the right menu appears a bunch of system settings, find the one that we called "Interactive logon: do not display last user name" This is the setting which will no doubt say "Enabled" beside him. Right-click on the file and select 'Properties', then disable the setting. Restart your computer and you should be good to go!

  • Windows 7, last user in the login screen and 'User', losses other accounts in the login page

    I am running Windows 7, it was a new installation. Since I set up my machine, I created 3 accounts in my system and in the login page I always had the possibility to choose one of these accounts.

    1 user 2 3

    Since last weekend, when I try to change username, I have just the last user who was logged and a "Different user" option (no image that it incidentally) where I need to type the name of the user who wants to go to and the password.

    Last known--> if another user select this--> I need to type the user name and password for the user newactive

    How to restore the possibility of having all my 3 available users in the form of connection with their photos?

    Thank you!!!

    I would like to use system restore to set up Windows in three days.

Maybe you are looking for