Store User specific data in Secure file in EP

Hi
    I wanted to store User specific data into Secure file .Please help me to access JAVA Secure Storage API 's of SAP netweaver
Regards
Ganesan S

sorry, wrong post

Similar Messages

  • Is there any way to store apllication specific data in resource file

    hi all!
    i am developining multilingual application in oracle 9i developer suite , in forms.
    i want to store display item text & other message for different languages externally .
    I preferbally dont want to use text files.
    Is there any other way?
    Like ResourceBundle in Java.

    Hi,
    no. Most if the customers that use custom message strings store their translations in database tables.
    Frank

  • Saving user variable data in XML file

    I am using Captivate 5.5. Can I save user variable data of several variables on an XML file ?

    Can be done with Javascript, have a look at the Javascript articles by Jim Leichliter, here is one link:
    Retrieve variables in Captivate
    Lilybiri

  • How to fetch user specific data from View?

    Hi
    I have a requirement in which I need to display table data specific to Session_user only. Scenario is if user belongs to a specific region he should be able to see data related to that specific region only.
    I am thinking of passing session_user name in view query but do not know whether it's possible or not.If possible how to do this.
    What is the best way to achieve it?
    Thanks
    Vibzz

    Hello
    Vibzz,
    First thing is that you need to implement security in your application, if you configured security then, Take a session scope bean in your un bounded task flow
    inside that session bean , you can get the information from security context, then write a static block inside your session bean and modify the fallowing code according to your requirement
    ADFContext adfc=ADFContext.getCurrent();// get the context instance
    SecurityContext securityContext=adfc.getSecurityContext();// instantiate the SecurityContext
    String username=securityContext.getUserName(); // returns the username from the security Context who are currently logged in
    Once you written this code just assign this username to session scope variable
    Map sessionScope =
    (Map)ADFContext.getCurrent().getSessionScope().put("UserName", username);
    So that the username with the key UserName will be available throughout your session
    and Apply in where clause according to the user logged in, or else you may directly use
    adf.context.securityContext.userName at the bind variable what ever you used inside your view criteria.

  • Excel Services and User Specific Data

    Hello,
    I am new to Excel Services.
    I want to retrieve data to Excel Services (at this phase, to prevent it in Excel Web Part) from SQL Server.
    The SQL might hold big amount of data so I think about fetching only the data relevant to each user.
    I configured a pivot table over a data connection with Windows Authentication, and when I refresh it I get the following message "The data connection uses windows authentication and user credentials could not be delegated". I think the Windows
    Authentication is required in order to pass information about the user to the SQL query so it can filter for the relevant data.
    My questions are as follows:
     Can I pass user information from the Excel model file to the SQL server in a way different from Windows Authentication?
    Alternatively, if I retrieve the data unfiltered to Excel Services, and filter only the pivot, will I get the same performance?
    Would the answers change if Excel and/or SharePoint version is changed from 2010 to 2013 or Online/365?
    Any other idea?
    Regards,
    Barak

    Hi,
    According to your post, my understanding is that you wanted to filter Excel Services Data.
    You can you can connect the Excel Web Access Web Part to a Current User Web Part or a Filter Web Part to pass user information. Please refer to:
    Personalized Data in Excel Services
    You will get the same performance.
    You can connect the Excel Web Access Web Part to a Current User Web Part in all versions.
    More information:
    Connecting Dashboard Filters to Excel Services Pivot Table Report Filters
    Thanks,
    Linda Li                
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Linda Li
    TechNet Community Support

  • Problem importing specific data from .csv file

    Hello!
    I'm using JDev 11.1.3.0 with JSF ui and I've been following the excellent example about importing comma separated values from a .csv file, of Mr. Bors, but I have a specific problem...
    1) When i try to import a date value (format dd/mm/yyyy) to a date field of my adf table, the date won't be accepted and it's not shown (I'm using Row.setAttribute("Field", textValue) for that purpose). I guess I have to enter it in a specific format but don't know how!
    2) Same thing with double values. Tried 1.50 and it's showing on the adf table 0.02. Tried 1,50 (with a different text separator) and it's throwing me an error and doesn't show anything on the table (again i'm using Row.setAttribute("Field", textValue) for that one too)...
    Any help would be appreciated!
    Thank you
    Edited by: Nikolas Saridakis on 6 Νοε 2010 11:10 πμ

    I tried your suggestion before I set my question but didn't know if I was looking on the right direction (I tried some things but they didn't work out). After a bit poking everything was fine...
    So I used
    Row.setAttribute("Field_name", oracle.jbo.domain.Date.fromText(value, "dd/mm/yyyy", null));
    and it did the trick...
    Weird thing about numbers was that after that, they were entered properly on the table with a normal Row.setAttribute("Field_name", value); with value being a String... anyway!
    Thank you Timo!

  • Table that stores User Master Data info

    Can someone tell me the table name that stores the email addresses and phone numbers maintained in user master record (SU01)? I need to generate a list of users with this info.
    A quick answer will be very appreciated.

    Hi Bernhard,
    Could you please let me know how I can get the details from "bapi_user_get-detail" .
    I have not used txn BAPI. Now I executed it. I see two tab strips "Alphabetical" and "Hierarchical". I selected "Alphabetical" and traversed till the USER, Expanded and found the "GetDetail" method.
    Here I have checked that there is this function module "BAPI_ADDRESSORG_GETDETAIL"
    I did a test thru SE37 and It was asking about:
    OBJ_TYPE
    OBJ_ID
    OBJ_ID_EXT
    CONTEXT
    I have provided the USER, <user name> in first two fields and did not get any results.
    Please let me know how to get the details.
    Regards,
    Srihari
    PS: the CONTEXT was 0001 (default). Also please let me know if I have to get the details for n number of users.
    Edited by: Srihari Rao on Jul 30, 2008 2:07 PM

  • Cannot Store Complete Internal Data in the File "blah Bla" with format ""

    Very Unexpected error.
    Not sure what to do with this.
    See attached file.
    I have Diadem Advanced v12
    Tim
    Solved!
    Go to Solution.
    Attachments:
    Untitled2.png ‏7 KB

    I tried saving it in TDMS and TDM.
    I was able to save it in excel so I was able to save my data.
    Tim

  • How to store text field data from web dynpro application in pcd ?

    Hi Forum,
    I am new to web Dynpro.
    I want to store user specific data (a text field value) from a wd application in PCD and access it every time the user runs the application.How can I achieve this?
    Thanks,
    Mickey.

    Hi
    I created the "read" and "update" methods in my application service. How can I call them? I created and implemented the methods just like here: https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/340fc0ea-0c01-0010-74bf-965b11031e77
    Operations:
    - readMyEntityService:
    - updateMyEntityService
    Implementation:
    retValue = getMyEntityService().read(key);
    getMyEntityService().update(dS0);
    In Web Dynpro there is this update method with the code above (in my original post).
    How can I call the update-method????????
    Kind regards
    Bettina

  • Data-level security in user level

    Hi All,
    In our OBIEE we have created several application roles and assign them to the users. We set data-level security for each application role, and the filter does apply to all related users. But we want to do more specific data-level security for each user, which we did by clicking on user name in Manage Identity, and set permission with additional data filter. But this does not work.
    Let's say we have Application Role1 with access to region='Asia', but then we want to set User1 to access only subregion='North Asia' and User2 to access only subregion='South East Asia', where User1 and User2 belongs to Application Role1.
    Is this possible to work in OBIEE 11g?
    Thanks.

    Hi,
    Yes it is possible,
    Please refer the below link.
    http://satyaobieesolutions.blogspot.in/2012/06/obiee-11g-security-week-row-level.html -- stey by step is there.
    Hope this help's
    Thanks
    Satya

  • Need to add number of days to users end date.

    Hi,
    I have a code where we are adding number of days(30) to current date and then updating user's end date in IDM DB.
    Now we have a requirement where we need to add number of days(30) to existing end date of user instead of adding to current date.
    *public String incrementDate(int daysToAdd)
         // Start date
         log.info("NotifyLastDayOfService::incrementDate(): Enter");
         SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd 00:00:00");
         Calendar c = Calendar.getInstance();
         c.add(Calendar.DATE, daysToAdd); // number of days to add
         String newDate = sdf.format(c.getTime());
         log.info("NotifyLastDayOfService::incrementDate(): Exit");
         return newDate;
    Have any body implemented this scenario?
    Please suggest.
    Thanks,
    Kalpana.

    Hi Nayan,
    Here is the code:
    System.out.println("----inside increment date method-----");     
              HashMap<String, String> hm = new HashMap<String, String>();
              HashMap<String,Date> modifyMap=new HashMap<String,Date>();
              SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd 00:00:00");
              tcResultSet usrList = null;
         String enddate = null;
         hm.put("Users.Key",usrKey );
         try {
         usrList = this.usrIntf.findUsers(hm);
         usrList.goToRow(0);
         Date endDate =usrList.getDate("Users.End Date");
         System.out.println("-----users end date-----"+endDate);
         String userEndDate=sdf.format(endDate);
         System.out.println("-----String value of users end date-----"+userEndDate);
         Calendar cal=null;
         System.out.println("-----Calender date-----"+cal);
         cal.setTime(endDate);
         System.out.println("-----end date-----"+endDate);
    cal.add(Calendar.DATE, Integer.parseInt(daysToAdd)); // number of days to add
    Date newEnddate = cal.getTime();
    System.out.println("-----new end date-----"+newEnddate);
    //usrList.setEndDate(Edate);
    modifyMap.put(userEndDate,newEnddate);
    usrIntf.updateUser(usrList, modifyMap);
    System.out.println("updated user's end date in OIM DB");
    //System.out.println("-----updated user's end date in OIM DB-----");
    logger.info("NotifyLastDayOfService::incrementDate(): Exit");
         System.out.println("-----new date-----");
         } catch (tcAPIException e) {
         logger.error("Error in finding end date for user" + e);
         } catch (tcColumnNotFoundException e) {
         logger.error("Error in finding end date for user" + e);
    In th log file, I can see that the code is not executing this line:
    cal.setTime(endDate);
    end date is of type Date and stores users end date from DB. Please help in resolving this issue.
    Thakns,
    Kalpana.

  • How to store custom application data in the Portal

    Hello,
    Is there a mechanism in the Portal whereby you can put custom application data into persistence and then retrieve it again? I don't want to use the database to store the data. I was hoping there is some API to such a mechanism that will allow you to do this.
    Of course, I also mean that I want to persist the data beyond the lifetime of a session - i.e. when the user logs off and comes back later, I want to retrieve the data again. Also, I do not want to use a KM repository, because I do not want to make the application KM-dependent.
    Any suggestions would be welcome.
    Thanks,
    Martin
    Message was edited by: Martin Ceronio

    Martin,
    do you want to store this data on a per-user basis? Then the personalization functionality might be want you want. You could define some additional properties in the portalapp.xml for your component and set its personalization to "no-dialog".
    Alternatively, you could store this information as additional attributes of the IUser object. See the following code snippet for details:
    IUserMaint mutableUser = UMFactory.getUserFactory().getMutableUser(userName);
    mutableUser.setAttribute(NAMESPACE, ATTRIBUTE, "some user-specific data");
    mutableUser.save();
    (NAMESPACE, ATTRIBUTE being some custom defined String constants that uniquely identify the attribute.
    Repost if you need further details.
    Regards,
    Dominik

  • User-Provided Data: Scrubbing & Displaying Thereof

    I'm in the middle of completely rebuilding an old application from the ground up and wanted to get some feedback on user-provided data and security, see what new methods people are using, and get some general feedback. With past applications I've always made use of CFQUERYPARAM on my database transactions, verified the proper length of all data provided by the user, and ran each form field through a custom tag that, rather harshly, checked for characters commonly used within SQL injection strings and cross-site scripting attacks. This time around I'd like to maintain, if not increase the security of my application when it comes to user-provided data, but at the same time not hinder or upset users by blocking just so many "suspect" characters.
    Of course about half of the user data I get can be scrubbed easily enough: E-Mail addresses, passwords, telephone numbers.
    Where I've run into problems in the past is the more free-form fields such as names, addresses, search criteria, and "comments" boxes, all which could easily have characters such as ', /, %, --, and the like. In the past I've judged these and many other characters harshly but I wonder if I've been too harsh?
    So, I'm curious to hear some opinions on the much-discussed topic of SQL injection and XSS and how it relates to user-provided data.
    What characters are you checking for in user data? How do you go about handling them? Escape them? Remove them? Generate an error to the user?
    Some things I've heard in the past that I'm curious if people do:
    01) htmleditformat() every piece of user data as it is outputted as text within a page.
    02) htmleditformat() every piece of user data as it is inserted into the database. An issue with this is that as htmleditformat() translates characters into lengthy ASCII strings and often extends user input beyond the MAXLENGTH of the given form/database field, and the customer won't understand why.

    Some reccomendations:
    1. Continue use of CFQUERYPARAM and data length/type verification.  This should keep you safe from SQL injection.
    2. Use HtmlEditFormat for output only.  Using HtmlEditFormat for input will cause a problem if the text is ever consumed by an application that doesn't understand HTML entities.
    3. Use a whitelist/blacklist specific to the data you are collecting.  For example, I think you can safely assume that a first name won't contain angle brackets. 
    4. Take a look at the Portcullis project.  From RIA Forge: "Portcullis is a CFC based url,form,cookie filter to help protect against SQL Injection and XSS (Cross Site Scripting) attacks."
    http://portcullis.riaforge.org/
    5. Tell the user when you're going to replace/escape their input with something else.  This will keep your site user friendly.

  • Oracle secure files

    Does anyone know if there is documentation from Oracle on how to setup the 11g db secure files database and store files per the 11g secure files method in UCM 10gR3. There is documentation for the filestore provider and to get the database storing content but it does not store things per the 11g secure files way.
    Edited by: DanKoz on Nov 11, 2009 7:13 AM

    ad #1 - yes, but it is not a specific feature of FSP - UCM just has table which has a column of BLOB type (?) and SecureFiles will take care of it
    ad #2 - for 50000 docs you won't see much difference in performance. However, check this post: Database base storage stress test especially the last comment

  • HELP!!!!   How to read data from a file at time to time?

    i store temporary string data in a file(the data changes always), and i need to read the data in the file from time to time, so how can i read from the file like every 5 seconds?

    Please i need your help mr. noahw. i have a timer called timer1 inside that timer i am starting a thread to read the data in a file to me, then i have another timer timer 2 in which it takes the data already read from timer 1 and draws them on a GUI. the problem with me is that, i am unable to set a correct time for each of the two timers such that, every time timer one executes that is a new data is generated i need to draw only one figure coreesponding to those data, then when a new set of data is read i need to draw another figure based on the new data read, please help me with this becasue i need it urgently, this is my email, [email protected], and i can offer this reply as many points as you want if this helps you to help me, i am counting on you.

Maybe you are looking for