Authorized Users for J2EE's Deploytool and HttpSession queries!!

Hi guys,
     i need some information about HttpSession, and J2EE's deploytool. First, i know how to use deploytool from the J2EE tutorial and it a good one but my assignment requireds more than that. I would like to know how to allow only authorized user to use an jsp(very impt jsp, that means).
     Secondly, my servlet had set some attributes on a HttpSession so to forward to a jsp so I requires some session tracking. But when the user click on the 'Back' button on the I.E. The information remains there. I tried to set attribute on a HttpRequest but my jsp fails to get the information. This problem really pull me back. :-(
I really appreciate if there is any links or more advanced J2EE tutorials so i can visit them and solved my problems. Examples are welcome toooo. Thanks guys!!

try http://jakarta.apache.org/struts for some
sophisticated examples.
and for setting an attribute on a request. This only
works when transferring from one servlet to another
without sending anything to the browser. Requests are
stateless, so if you set an attribute, the next time
it will not be there, since it is not saved. If you
want to save user information you can:
- create a hidden field on a form and put the
information there
- set the information you want to save in a cookie
- set the information you want to save in the session
object.

Similar Messages

  • Hi guys i had been an iPhone 5 user for about 3 years and i have recently swapped over to a samsung s4 i dont know if this was a good idea any assistance or light in the right direction would be appreciated?

    Hi guys i had been an iPhone 5 user for about 3 years and i have recently swapped over to a samsung s4 i dont know if this was a good idea any assistance or light in the right direction would be appreciated?

    Sorry i correct myself i had been an iPhone user for about 3 years. My last Apple iPhone was an iPhone 5. I am getting used to things with the Samsung but really think the extra features such as smart stay and scroll are coverting humans into robots. The configuration of the features is also difficult as it detects your eye movement so if the movement is out of place even the slightest the feature will not function. I think the ios user interface is simple in comparison to the android user interface. Any views are appreciated? I have many friends also using HTC and prefer it in comparison to the iPhone and Galaxy but as raymond73 mentioned choice is a wonderful thing.

  • Setting Users for my managed services and application pools

    I setup my SharePoint 2013 test environment and I developed an intranet site. Now inside my test environment I set all the application pool & managed services to use Farm user account for simplicity. Now I want to setup my UAT environment and I want
    to follow the best practice for managing users and service accounts.
    I have read the “Core Solutions Of MS SharePoint 2013” book, and it have listed the following table:-
    First question. What is the difference when saying that the user “Must be a member of the Farm Administrators group” Or must be “Domain user account”?
    Second question , when I first install SharePoint 2013 a lot of applications pools and managed services such as excel services , access services, Performance Point Service Application, business
    data connectivity and Machine Translation Service  will be automatically created , so which account they will be using and should I define separate accounts for each managed service ?
    Third question. What is the recommendation for SharePoint 2013 regarding service accounts?, to use separate account for each manage service, for example one user for excel services , second user
    for access services ,etc?
    Fourth question. For example the documentation mentioned that the Required roles for the excel services is “Domain user account.”, but what permissions this domain user need to have ?
    thanks for any help, and sorry so adding multiple questions inside the same post.

    Q #1: This means the user must be part of the Farm Admins group. Every user is a Domain User.
    Q #2: Generally those should be using a single Domain User account in a single Application Pool to minimize memory usage and reduce unnecessary complexity.
    Q #3: The less Application Pools the better. E.g. One account/App Pool for all Web Applications, one account/App Pool for all Service Applications, and then Central Administration is obviously separate.
    Q #4: You don't need to specifically give this type of user any sort of rights
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Restrict User for Particular Doc Types and GL Account

    Dear Experts,
    I want to restrict few users with Doc type JV and Posting to GL Account 1 - 1000
    I created a set for Username fo be restricted and i have written a Validation for Line Item  saying
    Prerequiste
    BKPF-BLART = 'JV' AND BKPF-USNAM IN T_DOC_USERS
    Check
    BSEG-HKONT >= '1' and BSEG-HKONT >= '1000'
    Mesaage
    User Resticted for Doc Type JV and GL Account
    Can someone please advice on priority
    Thanks in Advance !!!!
    Regards
    Rahul

    HI
    1.You can restrict the user to document types by authorization settings Transaction Code PFCG
    Note : This will not hide entries in a drop down list.
    2.You can restrict the user to view the General Ledger reports like FBL3n,FBL1N like wise
    Hope this will help you

  • Trying to Add new user for a Public Folder and add permissions

    get the following message...help!
    Microsoft Exchange Error
    The following error(s) occurred while saving changes:
    Add-PublicFolderClientPermission
    Failed
    Error:
    Failed to modify the MAPI.NET table property of the object "000000001A447390AA6611CD9BC800AA002FC45A0300B72DFEDBDF3E2746BEB6DF53F39847C70000911E0F780000" on server "msexchange.marianhill.local". See inner exception for more information.
    MapiExceptionTooBig: Unable to modify table. (hr=0x80040305, ec=-2147220731)
    Diagnostic context:
        Lid: 40487   EMSMDBMT.EcDoRpcExt2 called [length=169]
        Lid: 56871   EMSMDBMT.EcDoRpcExt2 returned [ec=0x0][length=332][latency=62]
        Lid: 23226   --- ROP Parse Start ---
        Lid: 27962   ROP: ropModifyACL [64]
        Lid: 17082   ROP Error: 0x80040305
        Lid: 27745 
        Lid: 21921   StoreEc: 0x80040305
        Lid: 27962   ROP: ropExtendedError [250]
        Lid: 1494    ---- Remote Context Beg ----
        Lid: 26426   ROP: ropModifyACL [64]
        Lid: 22086 
        Lid: 22086 
        Lid: 21970   StoreEc: 0x8004010F PropTag: 0x3D210102
        Lid: 19149   Error: 0x0
        Lid: 24509   Error: 0x0
        Lid: 31229   Error: 0x0
        Lid: 21970   StoreEc: 0x8004010F PropTag: 0x668F0040
        Lid: 6671    StoreEc: 0x8004010F
        Lid: 21970   StoreEc: 0x8004010F PropTag: 0x65E30102
        Lid: 21970   StoreEc: 0x8004010F PropTag: 0x65E20102
        Lid: 25826 
        Lid: 11956   StoreEc: 0x80040305 PropTag: 0xE270102
        Lid: 5119    StoreEc: 0x80040305
        Lid: 5247    StoreEc: 0x80040305
        Lid: 17916   StoreEc: 0x80040305
        Lid: 4814    StoreEc: 0x80040305
        Lid: 1750    ---- Remote Context End ----
        Lid: 26849 
        Lid: 21817   ROP Failure: 0x80040305
        Lid: 29150 
        Lid: 20446   StoreEc: 0x80040305
    OK

    Hi,
    The issue may be related to corrupt DACLs, please perform the Fix Folder DACL's using ExFolders to check result.
    Best regards,
    Belinda Ma
    TechNet Community Support

  • Best Practices for Batch Updates, Inserts and Complex Queries

    The approach we have taken for our ALDSP Architecture is to model or DASi as Business Data Objects, each DS joining several (some times many) tables and lookups. This works ok when needing to access individual records for read and update, but when we need to update multiple tables and rows within the same commit, trying to do this with a logical single ds built on tables or other dASi, proves both cumbersome and slow. This is also the case for queries, when we have complex where clauses within a DS built upon two or more multi-table-joined logical DASi.
    We tried a DS built on SQL, but that does not allow dml operations. We may have to just use JDBC. Any thoughts on how best to leverage DAS in this respect.

    I tried doing this by creating a UO class and using it on a DS built on a sql statement. What we wanted to do here is first read the DS to get a list of ID values that met the conditions of the query and then call submit() and have the UO update all the necessary tables associated with those IDS.
    However, we found that U/O never get's called unless you actually update something, not just send submit() after a read. Dis I misunderstand the way this shoudl work?

  • Users for the j2ee application

    hi friends,
    i want to create the users for J2EE applications.
    can i create the users only for j2ee engine ?
    how can i create these users?
    if i want to implement the sap
    is it necessary to buy the licence for j2ee users?
    thanks&regards,
    srinivas.

    Hi
    To create the users in J2EE applications is not an issue, but the licensing is always applicable as it is applicable for ABAP applications.
    There are two ways depends on configurations:
    1. If the UME store is ABAP, then you can create the users at ABAP side using SU01 and at java side using http://<hostname>:5<Systemnumber>00/useradmin
    2. If the UME store is JAVA, then you can only create using http://<hostname>:5<Systemnumber>00/useradmin
    The licensing for JAVA applications depends as ABAP is having, if you use it as production you have to pay the charges. Please contact your local SAP representative for further details

  • To find the list of the users for a paritcular program

    Hi,
    How to find list of the user for a paritcular program and the last time used for that progam.
    plz help me out....
    Advance thnks....

    You can find this in TRDIR table, field names are
    Last changed by --> UNAM
    Last Changed On --> UDAT
    and
    Try transaction STAD to find the last execution of a program

  • RFC User for satellite systems

    Hello Gurus,
    I just wanted to ask about one issue. We are a SAP partner and using Solution Manager in VARs scenario. There are many systems of our customers connected to our Solution Manager..
    Now I want to ask about RFC user(s). As I see, in our Solution Manager there are many users(communications type C) with Synthax SOLMAN<system id> or something like that. It means basically, that we have for every particular customerS system one SOLMAN user for RFC(cust_scout) in our Solution Manager. My question is if we can replace all of these users with only one RFC user for all the systems and customers?
    Many thanks in advance for your help
    Miloslav Pudil
    IDS Scheer
    Prague
    Czech Republic

    >
    Miloslav Pudil wrote:
    > I just wanted to ask about one issue. We are a SAP partner and using Solution Manager in VARs scenario. There are many systems of our customers connected to our Solution Manager..
    > Now I want to ask about RFC user(s). As I see, in our Solution Manager there are many users(communications type C) with Synthax SOLMAN<system id> or something like that. It means basically, that we have for every particular customerS system one SOLMAN user for RFC(cust_scout) in our Solution Manager. My question is if we can replace all of these users with only one RFC user for all the systems and customers?
    Hi Miloslav,
    Technically, it will work that you define one common RFC user in your SolMan for communication (RFC BACK destination) from all connected managed systems.
    BUT, I would never recommend it.
    Once a managed system cause issues in your SolMan, you are not able (or at least it's much more difficult) to identify the managed system. Same happens, if a invalid password in the BACK destination leads to a locked user.
    My recommendation: Spend the extra effort in creating a user per managed system. Operation will be much easier later.
    See also this guide:
    [Activating EarlyWatch Alert [EWA] in End Customeru2019s System |http://service.sap.com/~form/sapnet?_SHORTKEY=00200797470000089947&_OBJECT=011000358700000567342009E]
    Best regards,
    Ruediger

  • How to display all site collections to users for site access

    Currently when our users clients/internal log in, they are directed to a site directory.  The site directory only displays sites that the users have access too.  Which is great because I don't want our clients to see our entire client list.  
    Currently we have one site collection with 700+ sites.  
    We are changing the architecture of our SharePoint environment to create a new site collection for each client.  So, we may have 700+ site collections in one web application.  
    My question is, how can I display all site collections to our user for access, similar to a site directory?  
    Any help would be greatly appreciated.  
    Thanks,

    This is not possible OOTB. your requirement is get the list of all site collections on root site then security trim( which means user can see only the sites where they have permission.)
    I think this required alot of effort(developing a solutions and checking the permission on all sites). Issue is you have more than 700 sites collections and tons of user for each site collections and also 700+ clients.
    May be think about creating a list and fill that with all site collections(using script). then trim configure the item level permission( but lot of work).
    if you have user profile services then may be check about the memberships feature. 
    Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog

  • Change history of User for Business Partner Number attaching and removing

    Hi Experts
    Is there any t-code in SRM which will show change history of User for Business Partner Number attaching and removing.
    Thanks--
    Guru Prasad Dwivedi

    Serene,
    I am not too sure if anyone can DELETE a Payment Term linked to a BP. The system would not allow this.  If at all a Payment term was deleted, I don't think it can be traced.
    It is therefore very important to use Proper user authorization so that only people authorized to do certain things are doing it and not everyone.
    Suda

  • Can we use applets as user interfaces with sockets, RMI and J2EE

    Dear Sir or Madam,
    Since I am a TA for software architecture class, some one ask me the following question: I think the answer is "No" based on the document on http://java.sun.com/sfaq/
    How I answer the quesions? Looking forward your help!!!
    1.You may have 2 applets and 2 html files. One applet with one html file may stay at a client PC and run on this PC, and the other applet with the other html file may stay at a server PC and run on this PC. In this case, all the applets are run locally.
    2.Could applets works with sockets, RMI and J2EE?
    3.Can we use applets as user interfaces with sockets, RMI and J2EE?
    Thank you very much!
    Best regards,
    Jing

    The scenario you paint doesn't quite make sense. The "server PC" wouldn't be running an applet, normally, since applets are by definition in a web browser page, and most likely involve user interaction, and "server processes" generally are done without user interaction.
    The security rules around applets are that -- by default -- applets can connect with sockets ONLY to the server from whence the applet was loaded. RMI uses sockets (J2EE is too broad a spec) and hence RMI calls would also be limited to the server from whence the applet was loaded. Within that limitation, an applet could open all the sockets it wants, so long as they are all on the server from whence the applet was loaded.
    If you want two applets on two different systems to communicate with each other, the simplest way is to have them rendevous through a server process on the server(s) from whence each applet was loaded. Maybe it's PC-a <-> server-a <-> server-b <-> PC-b ...? Or maybe PC-a and PC-b both are talking to the same server.
    The limitation is rooted in the security subsystem. You can specify a policy file and override anything in the security subsystem. That does mean signing the applet and then cajoling the user into agreeing to grant greater levels of security than the default. In such a case you can open sockets more broadly and then PC-a could talk directly to PC-b without going through any servers.
    - David

  • HT204053 Dear Support Team, every time i tried to logon Icloud its gives me wrong user name or password and at the end it show me error " This Apple ID is valid but is not an ICloud Account" then how can i use one account for same Apple ID and ICloud???

    Dear Support Team,
    Every time i tried to logon Icloud its gives me wrong user name or password and at the end it show me error " This Apple ID is valid but is not an ICloud Account" then how can i use one account for same Apple ID and ICloud?
    Thanks

    It is not possible to create a new iCloud account using a Windows machine. You must create the account using a Mac (10.7.5 or more) or an IOS device (iPhone etc). Once that is done you can sign into and use the account on your Windows machine.

  • HT201240 This process does not appear to work for me.  I'm running 10.8.3.  I created a new user for a guest staying with me.  They have gone now and I am attempting to either change the password or delete the user.  It won't allow me to choose the user I

    This process does not appear to work for me.  I'm running 10.8.3.  I created a new user for a guest staying with me.  They have gone now and I am attempting to either change the password or delete the user.  It won't allow me to choose the user I created.  I am logged in as myself and it states that I am an "Admin".  The user I'm attempting to change is listed as a "standard" user and there is a white checkmark inside an orange circular background on the user pic in the list of users. 
    Can someone help me?  I am having a hard time believing that OSx will allow me to create users and allow them use of my computer and it's drives, yet it will not allow me to change the password so I can monitor what they might have been doing while logged on?  What if this were my child?  This guest left under sketchy circumstances, and I'd really like to be able to ensure they were not using my computer to do illegal things or to have illegal communications.
    Any help would be appreciated.  (It's odd that it was so simple to "create" a user and set a password for them.......but it's complicated or a little known process to reverse.
    Thanks.

    Here are two screen shots to show you what I am seeing.  The first screen shot shows it allowing me to select (highlighted in blue) my admin user (which is what I am locced in as).  The second screen shot shows it allowing me to select the "Guest" user (highlighted in blue).  However when I click on the user "Orion" nothing happens.  It will not change to highlight that user.

  • I have multiple devices (imacs, lap tops and ipads) all connected to a NAS server.  Can I create a user for myself and one for my wife, and each have our own apple ID, and Itunes accounts, but all share the same media on NAS drives?

    I have multiple devices (iMacs, Lap tops, Ipads) all connected to a Nas Drive.  Can I create a user for myself and one for my wife and we each have our own apple ID's, Itunes etc, but share the same data on the hard drives?  So when she logs in, and sync's her ipads, they will sync with her stuff and when I do the same under my user account, on the same device, my ipads will sync with my stuff?

    You can share the same Apple ID for purchasng form the iTunes and app stores without any problems, but you should all used separate iCloud accounts with separate Apple IDs.  (You are not required to use the same ID for iCloud and other services as you do for the iTunes store.)  This will prevent you from ending up with merged data.  You should also use separate Apple IDs for iMessage and FaceTime or you will end up getting each other's text messages and FaceTime calls.
    This article may be of interest: http://www.macstories.net/stories/ios-5-icloud-tips-sharing-an-apple-id-with-you r-family/, as well as this video: http://macmost.com/setting-up-multiple-ios-devices-for-messages-and-facetime.htm l.

Maybe you are looking for

  • How do i start page numbering in the middle of a document in pages

    I need to begin page numbering after the initial pages in my thesis. I can get the page numbers to not appear for the first few pages but when it does begin (say page 4), it counts the previous pages. I there a way I can get pages (5.2) to count from

  • Bpm Design best practice

    Hello Dear Co designers :) what would be the best practice for desiging the follwing: 1- User can select the process insance distination form a drop down list [list of departments|http://forums.oracle.com/forums/] in the form (i.e. routing based on a

  • Portege R500 - Touchpad doesn't work on Windows 7

    I have installed Windows 7 Ultimate but cannot get the touchpad to work. Any suggestions for a fix? Message was edited by: adeery

  • Word documents in email attachments, how do I open them

    My employer uses Microsoft Outlook and Word, etc.  When someone attaches a file to an email it is in MSWord, I used to be able to open it and use/read it.  Now I can not, I have upgraded to OS Maverick, is this the problem?  TIA

  • Server services won't upgrade successfully

    Greetings, I am attempting to upgrade an intel XServe from 10.5.8 to 10.6. I have attemped a few different processes to achieve a successful result. The issue is that not all the services are upgrading successfully. Initially I cloned the 10.5 system