Store user data row in modle session

All,
My use case is after successful login, i get a row in the VO. i don't want to store separate attributes in the model layer session and HTTP Session. How can i store the entire Row in the session and how do i access it. In my model layer i can do something like this
getSession().getUserData().put("currentUserDetailsRow",  getVO.getFirst());but my problem is i will be writing the session syn code in a root class of the application module. So how do i get access to the VO there and how do i get the view object in all the other VOs ?
hope i am clear here
thnks
jdev 11..1.15

I would recommend to think again about the use case. You normally store this info on the client side in a session bean and pass the info needed to the model layer as method parameter.
If you really want to store the info in the model layer too you always end up with separate stage l storage of the info. In addition you need to take care of activation and passivation of the user data.
Timo

Similar Messages

  • IM server - store user data in files or directory?

    Is there a document that explains the advantages and disadvantages of storing user data in files vs the directory? Is one recommended above the other for new installations?

    JesseThompson wrote:
    Is there a document that explains the advantages and disadvantages of storing user data in files vs the directory? AFAIK no such document exists
    Is one recommended above the other for new installations?
    This depends upon your deployment

  • Old beta user data won't go away

    I'd been playing with some of the Snow Leopard betas (that I wasn't supposed to have, sure) but I had a weird issue where I'd be asked for an admin name and password if I tried to install anything. Then it wouldn't accept my correct admin user name/pass. The installer would often start working actually while the OS continued to pop up the 'incorrect' dialog. It was strange and I just ignored it as par for the downloaded-beta course. Now I've bought the retail version of SL and can't seem to make it do a clean install to the same drive that the beta was on. I've deleted everything system- or user-related off that drive, there are only media files left on there but the installer still is finding the old user data somewhere. My primary 10.5.8 boot drive has different user folders but that's not what it's reading from. Where the heck is this old user data coming from and how do i delete it? Actually I wouldn't mind the old user data coming back if I could get my retail SL install to not keep giving me that 'login/pass incorrect" dialog that I got from the betas.
    Does the OS store user data anywhere but in the Users folder? Unless it's got something hidden on a different boot drive or in some area I'm not privy to I'm truly baffled at this point.

    Chuck it up to a lesson learned and then wipe the disk.

  • How does firefox guarantee User data privacy and protection?

    As I understand Firfox Sync Service will store user data on its personal servers, i have 2 doubts then -
    1: If a user stores his passwords to Firfox server and there is a security breach on that server and User's private data has gone to wrong hands then who would take responsibility of such incidence?
    How secure is the server that firfox uses in general !!
    2: Once this data store grows in size, Firfox would have to use better and reliable technology, that comes with a cost tag, so would Firfox start charging those users who have no idea of this right now?

    With only the password it is impossible to read the data that is on the servers since the data is encrypted. The data is encrypted on your computer before it is sent to the Mozilla servers, and if downloading the data from Mozilla it is decrypted on your computer. To encrypt and decrypt the data the secret phrase is required, and that is on your computer.
    As far as I am aware Firefox sync will always be free.

  • How to store measurement data in a single database row

    I have to store time-data series into a database and do some analysis using Matlab later. Therefore the question might be more a database question rather than Diadem itself. Nevertheless I'm interested if anyone has some best practices for this issue.
    I have a database which holds lifecycle records for certain components of same nature and different variants. Depending on the variant I have test setups which record certain data. There is a common set of component properties and a varying number of environmental measurements to be included. Also the duration of data acquisition varies across the variants.
    Therefore having tables appears to be non-optimal solution for storing the data because the needed number of columns is unknown. Additionally I cannot create individual tables for each sample of a variant. This would produce to many tables.
    So there are different approaches I have thought of:
    Saving the TDM and TDX files as text respectively as BLOB
    This makes it necessary to use intermediate files.
    Saving the data as XML text
    I don’t know yet if I can process XML data in Matlab
    Has anybody an advice on that problem?
    Regards
    Chris

    Chris
    Sorry for the lateness in replying to your post. 
    I have done quite a bit of using a Database to store test results.  (In my case this was Oracle DB, using a system called ASAM-ODS)
    My 2 Cents:
    Three functions were needed by users for me.  1) To search and find the tests,  and  2)  To take the list of Tests and process the data into a report/output summary. 2) If the file size is large, then being able to import the data quickly into analysis tool speeds up processing.
    1) Searching for test results.  This all depends on what parameters are of value for searching.  In practice this is a smaller list of values(usually under 20), but I have had great difficulty getting users to agree on what these parameters are. They tend to want to search for anything.   The organization of the searching parameters has direct relationship to how you can search.   The NI Datafinder does a nice job of searching for parameters, so long as the parameter data are stored in properties of Channel Groups or Channels. It does not search or index if the values are in channel values.
    Another note: Given these are searchable parameters, it helps greatly if these parameters have a controlled entry, so that the parameters are consistent over all tests, and not dependent on free form entry by each operator. Searching becomes impossible if the operators enter dates/ names in wildly different formats.
    2) Similar issue exists if put values into databases. (I will use the database terms of Table and column(Parameter) and Row (instance of Data that would be one test record.)
    The sql select statement, can do fast finds, if store the searchable parameters in rows of a table. Where would have one row for each Test Record.   The files I worked with have more than 2000 parameters.   Making a table that would store all of these, and be able to search for all of these, makes a very large number of rows. I did not like this approach, as it has substantial maintenance time, and when changes are made, things get ugly quick.
    3)This is where having the file format be something that the analysis tool can quickly load up is beneficial.   Especially if the data files are large. In DIAdem's case, it reads TDM,TDMS files very quickly into the dataportal.   It can also read in the MDF or HDF files, but these are hierarchical structures that require custom code to traverse the information, and get the information into dataportal to use in Analysis /reporting. (Takes more time to read data, but have much more flexibility in the data structure than the two level tdm/tdms format.)
    My personal preferences
    I would not want to put the test data into a Table row. Each of the columns would be fixed and the table would be very wide in columns.
    >
    I personally like to put the test Data into a file, like TDMS, MDF, or HDF and then the database would have a entry for the reference to the attachment. The values that are in the database is just the parameters that are used for test Searching, either in datafinder or in sql commands in the user interface.
    Hopefully these comments help your tasks some.
    Respectfully,
    Paul
    tdmsmith.com

  • Which table stores SM04 (currently active users) data?

    HI all,
    what is the table which stores the SM04 currently active users data in sap?
    plzzzzzzzzz help me..
    Thanks all in advance ,
    Malti

    SM04 uses a kernel call to get the active user data, not table is involved:
    Get the list of logged on users
        CALL 'ThUsrInfo' ID 'OPCODE' FIELD OPCODE
            ID 'TAB' FIELD USR_TABL-SYS.
    Markus

  • What is the table which stores the SM04 currently active users data

    HI all,
    what is the table which stores the SM04 currently active users data in sap?
    plzzzzzzzzz help me..
    Thanks  all in advance ,
    Malti

    Hi,
    Pl. check in tables USR02/USR01 for the list of users & logon data.
    Regards,
    SDS

  • R/3 User Data store in Portal....?

    Hi All,
    Can anybody tell me what is the necessity of using R/3 as a user data store (UME) in Portal ?
    What are advantages of it over Portal UME ? In what scenarios can we use R/3 as a user datastore in Portal and how can we make well advantage of it ?
    Any help in this regards would be highly appreciated. Full points would be rewarded for usefull answers.
    Regards,
    Anil Kumar

    Hi,
    Imagine a scenario when most users need data only from r/3 what a bother replicating same users again in Portal - Look at it from administration point of view! and role assignment in sap backend , so many issues.
    Consider that you have built a huge list of users, then you add Portal. How tough to keep portal user profile uptodate with backend.
    This is an important reason in my view, single storage of users - optimum use of database space and efficieny and administrative conveniency.
    Regards,
    Harish

  • How to store the data, which should accessed by all the users

    I want to store some data into some variables, which has to be accessed by all the users on the webserver. i think it has to be stored in the application memory but if any body gives the code it will be clear to me .
    Thank Q
    K.Srinivas

    if it is for the same webapplication you can keep it in static attributes in a class which can be loaded at the time of server startup

  • 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

  • Record about my phone (bought in Verizon store and connected to Verizon for 4 years) has been corrupted and now I can not make any changes to my data plan. Several sessions with the technical support and management have not resolved this issue. Each time

    Record about my phone (bought in Verizon store and connected to Verizon for 4 years) has been corrupted and now I can not make any changes to my data plan. Several sessions with the technical support and management have not resolved this issue. Each time technical people and top managers promised that this issue will be resolve tomorrow and they will cal me. Nothing happend!! I can not even cancel my service not just to upgrade it. Completely locked. 
    Any advice?
    Thanks.
    Alex.

    Cannot figure out what your talking about since it makes no sense.
    If you are the account owner you can go to the My Verizon web portal http://www.verizonwireless.com
    You must log in with your cell number and your my Verizon portal password. Not the account pin.
    Once there you can change your plan and services. However repeated incorrect login attempts will lock you out of the site. It a fraud prevention measure.
    1-800-922-0204 call support with your cell number and or account number and account pin and they can assist you.
    If you don't have the information then there is nothing they can do.
    If you can verify who you are they may be able to reset your account access. But only if you are the account owner.
    Good Luck

  • How do I contain my OS purely on a small SSD drive, but store all user data on an additional internal HDD?

    Solid state drives are still pretty expensive, but the main benefit of SSD we all want doesn't require a lot of space. How do I keep the OS and Applications on the solid state, and the user data on an additional HDD inside of a Mac Pro?
    I'm afraid that if I just store my media/docs folders on the second drive (which, obviously take up the most space), I'm still operating within a small (ideally 64GB SSD) solid state. Which means any time I save something to my desktop or downloads folder I'm taking up space on the SSD rather then the HDD. On the flip side, I dont want put my whole user folder on the HDD because (correct me if I'm wrong) won't the apps launch from the HDD? Then you would lose the benefit of solid state (other then I/O times...).
    Does this make sense? I feel like there has the be a straight forward way to do this.
    Thanks for your help!

    ds store wrote:
    Naturally, which you have to enable of course or else if your users drives has directory issues you wouldn't have a user to boot into to fix it.
    When I said I always have backups I neglected to mention that one of those backups is always mounted so it is always available to boot from.
    The hatter wrote:
    A small home folder - yours - on the SSD is a way to improve performance because it does take a lot of hits and I/O's and while there is the "protect your SSD from writes" drives are also there to be used and as long as it isn't too tiny and has 40GB+ of free space, a month's worth if writes, use it and let the firmware and controller inside do all the agressive background work, even w/o TRIM.
    As I said I only want my key apps on the SSD and less used stuff off it.  If I wanted to fully maximize the disk performance then of course I would keep everything on the SSD.  But I prefer the convenience of having a common home dir across any volume I can to boot from.
    Putting the /Users on another drive via hard link didn't always work.
    I certainly never suggested that and I agree, its problematic.
    Not having a small user makes it harder.
    As I said above I always have another boot drive available to fall back on I also always have root (and lets not debate the pros and cons about root).  And then there's also my unmounted external backups too.

  • How to use rdbms as users data store in a form authentication webapp?

    Hi,ALL!
    WLS 10.3
    This is part of web.xml:
    <security-constraint>
         <web-resource-collection>
              <web-resource-name>secureweb</web-resource-name>
              <url-pattern>/secureweb/*</url-pattern>
         </web-resource-collection>
         <auth-constraint>
              <role-name>Users</role-name>
         </auth-constraint>
    </security-constraint>
    <login-config>
         <auth-method>FORM</auth-method>
         <form-login-config>
              <form-login-page>/login.htm</form-login-page>
              <form-error-page>/login_fail.jsp</form-error-page>
         </form-login-config>
    </login-config>
    Every time I want to access web page in /secureweb/,it takes me to /login.htm,and when I want to login on from /login.htm,it takes me to /login_fail.jsp,so I think there is nothing wrong with web.xml but WLS's configuration.
    There is only one Security Realm called "myrealm" in my domain,and besides the DefaultAuthenticator and DefaultIdentityAsserter,I created a new SQL Authencator called sql_auth in front of them,after that,I created tables(USERS,GROUPS,GROUPMEMBERS) in my Oracle database accordding to the configurations in sql_auth,and insert some user data.
    But it never successed when I used the data in the database to test the authentication,it allways go to the /login_fail.jsp page...
    What's wrong there?
    Best Regards!
    Edited by: Linyin.Huang on Jun 18, 2009 5:02 AM

    Hello,these are the SQLs from the "provider specific" configuration tab in my SQLAuthenticator,in fact,it's provided by WLS,and I have never modified them:
    SQL Get Users Password:SELECT U_PASSWORD FROM USERS WHERE U_NAME = ?
    SQL Set User Password:UPDATE USERS SET U_PASSWORD = ? WHERE U_NAME = ?
    SQL User Exists:SELECT U_NAME FROM USERS WHERE U_NAME = ?
    SQL List Users:SELECT U_NAME FROM USERS WHERE U_NAME LIKE ?
    SQL Create User:INSERT INTO USERS VALUES ( ? , ? , ? )
    SQL Remove User:DELETE FROM USERS WHERE U_NAME = ?
    SQL List Groups:SELECT G_NAME FROM GROUPS WHERE G_NAME LIKE ?
    SQL Group Exists:SELECT G_NAME FROM GROUPS WHERE G_NAME = ?
    SQL Create Group:INSERT INTO GROUPS VALUES ( ? , ? )
    SQL Remove Group:DELETE FROM GROUPS WHERE G_NAME = ?
    SQL Is Member:SELECT G_MEMBER FROM GROUPMEMBERS WHERE G_NAME = ? AND G_MEMBER = ?
    SQL List Member Groups:SELECT G_NAME FROM GROUPMEMBERS WHERE G_MEMBER = ?
    SQL List Group Members:SELECT G_MEMBER FROM GROUPMEMBERS WHERE G_NAME = ? AND G_MEMBER LIKE ?
    SQL Remove Group Memberships:DELETE FROM GROUPMEMBERS WHERE G_MEMBER = ? OR G_NAME = ?
    SQL Add Member To Group:INSERT INTO GROUPMEMBERS VALUES( ?, ?)
    SQL Remove Member From Group:DELETE FROM GROUPMEMBERS WHERE G_NAME = ? AND G_MEMBER = ?
    SQL Remove Group Member:DELETE FROM GROUPMEMBERS WHERE G_NAME = ?
    SQL Get User Description:SELECT U_DESCRIPTION FROM USERS WHERE U_NAME = ?
    SQLSet User Description:UPDATE USERS SET U_DESCRIPTION = ? WHERE U_NAME = ?
    SQL Get Group Description:SELECT G_DESCRIPTION FROM GROUPS WHERE G_NAME = ?
    SQL Set Group Description:UPDATE GROUPS SET G_DESCRIPTION = ? WHERE G_NAME = ?
    And these are the SQLs for creating tables(Oracle 11G):
    CREATE TABLE USERS(
    U_NAME VARCHAR2(50) PRIMARY KEY,
    U_PASSWORD VARCHAR2(50) NOT NULL,
    U_DESCRIPTION VARCHAR2(50) NOT NULL);
    CREATE TABLE GROUPS(
    G_NAME VARCHAR2(50) PRIMARY KEY,
    G_DESCRIPTION VARCHAR2(50) NOT NULL);
    CREATE TABLE GROUPMEMBERS(
    G_NAME VARCHAR2(50) NOT NULL,
    G_MEMBER VARCHAR2(50) NOT NULL,
    CONSTRAINT PK_GROUPMEMBERS PRIMARY KEY(G_NAME,G_MEMBER));
    INSERT INTO USERS(U_NAME,U_PASSWORD,U_DESCRIPTION)VALUES('usera','passworda','userdesa');
    INSERT INTO GROUPS(G_NAME,G_DESCRIPTION)VALUES('groupa','groupdesa');
    INSERT INTO GROUPMEMBERS(G_NAME,G_MEMBER)VALUES('groupa','usera');
    COMMIT;
    I still can't see any users or groups in my SQLAuthenticator...
    Thank you!
    Edited by: Linyin.Huang on Jun 18, 2009 1:39 PM

  • Store user preferences accessible from view layer and ADF BC

    Hi
    I'm working with JDeveloper 11.1.2.1
    We have an application with an application-level shared application module which contains VOs with bind variables to generate language dependent LOVs. From these VOs have to access the language.
    We want to store user language and other user preferences in the future and these can be accessed by the view layer and ADF BC.
    In addition, we want that application will be passivation safe and works properly in a cluster environment.
    At first we opted to save the language in the HTTP session, but we access it from ADF BC ... and we would not want to break the MVC pattern. This article
       Andrejus Baranovskis's Blog: Bad Practice for Session Scope Access in ADF BC
    says that the MVC pattern only breaks when our application module can not be executed without the UI. We differentiate when run individually and when run as a logged in user to avoid this rupture. ¿Is this acceptable solution?
    Otherwise, what is the best option to preserve the MVC pattern and also the passivation does not affect the proper execution of the application and not cause problems in the cluster (HTTP sessions are replicated, but the rest?)
    I have seen that there are 2 more possible methods :
    - Transient View Object
    - User data map
    The user data map discussed in this article seems an option,
       Andrejus Baranovskis's Blog: Solution for Sharing Global User Data in ADF BC
    but perhaps complicates the development and I don't know if shared application module would work properly. For example, we need the language of the user in the application-level shared application module VOs, but the user data map is available only in the session of the root application module no? If we have a method that gets the language within the shared application module, ¿when the method getSession.getUserData() execute, it will access the user data in the root application module or return null?
    If you could tell us if we are correct using the HTTP session or else it is better that we use the user data map, it would be a great help.
    Thanks

    Hi,
    this sounds like something that belongs in your Application Module. I would create a client method which would do your LDAP checks before calling your view object to create a new row. Have the client method return the result based on the success of your LDAP search.
    Call this AM client method from the backing bean of the JSP and return a page flow based on the outcome of your client method.
    The actual transaction with the database happens in your doDML method of the Entity Object (override the doDML method). But I would still implement this business logic in the AM.
    regards,
    Brenden

  • How to search data with multiple parameters =SESSION

    Dear Günter Schenk
    Please help
    I have two Tables with many fields
    1.       tbl_users
    2.       tbl_transection
    Now problem is that I want when user login he make search in " tbl_usr_transection " related its own Transactions other then he view all user data
    I have one column about user in transaction table i.e. "fld_transection_by"
    I am using SESSION to filter all transaction its related user and its working fine.
    <?php echo $_SESSION['login_id']; ?>=<?php echo $row_rstbl_transections[' fld_transection_by ']; ?>
    Now how to make search from filter rows in many field
    Please explain in detail
    Thanks in Advance

    Hi, It sounds like you need to carry those variables into your mySQL statement.

Maybe you are looking for

  • Apple ID Verification Issue

    I signed up for an Apple ID using my credit card and email. When I tried signing into hotmail, it said that wasn't an account. I'm guessing hotmail deleted the email account as I haven't used it for a while? My question is can I delete the pending ac

  • Syncing problem with AppleTV and HP w/ Windows Vista

    Vital Stats: HP Media Center PC Windows Vista Home Premium iTunes 7.6.2.9 AppleTV 40GB Software Version 2.0.2 Wireless DHCP I have been trying to sync my Apple TV with iTunes and keep getting the error: The Apple TV "Downstairs Apple TV" is not respo

  • Links from RoboHelp don't convert into PDF file when "printing to PDF"

    I need to output my webhelp file to an Adobe PDF. However, my links are not converting UNLESS I put in part of the code. mailto: links will work if there is a visible @xxxxx on the screen. Regardless of the background code, if I don't have the @xxxx

  • ORA-02303 when creating database on Exadata using template with BP12

    I get ORA-02303 when creating a RAC database on Exadata. Logs indicate that error happened when applying bundle patch BP12 and probably when running following script: /u01/app/oracle/product/11.2.0.4/dbhome_1/rdbms/admin/catsnap.sql CREATE OR REPLACE

  • Script to change numbers all at once...

    Hi, I work with technical drawings...90% of my time is changing the numbers on the drawing.   I take the PDF that was created in UG/NX and then open that in Illustrator to make formatting changes, and number changes.  What I would love, is to have a