Grabbing the information after user logs in

I'm trying to use the security webflow, but was wondering how can I get the
user information after the class
com.bea.portal.appflow.processor.security.LoginProcessor is called? Is it
possible for me to create a link event from LoginProcessor node to a
pipeline that will do what I want after the user has been authenticated
through the custom realm? If so, from the Pipeline class, I extend
PipelineComponentSupport, but how do I get the user information from it?
How can I get the UserManager?
Thank you,
- joel -

Jeol,
com.bea.portal.appflow.processor.security.LoginProcessor is called? Is it
possible for me to create a link event from LoginProcessor node to a
pipeline that will do what I want after the user has been authenticated
through the custom realm? If so, from the Pipeline class, I extend
PipelineComponentSupport, but how do I get the user information from it?Before your pipeline, add an input processor, in which you can collect
the user name from the HttpServletRequest object (with the getRemoteUser
method). Set this name as a request attribute on the pipeline session.
Your pipeline component can then access this variable.
How can I get the UserManager?It's an EJB, so lookup via JNDI.
Hope this helps.
Subbu

Similar Messages

  • Preventing browser keep data information after user log out

    Is it possible to prevent browsers from remembering pages so
    they not available after user logs out and click back button pages
    with data information will be deleted?
    How to not aloud to keep it in \Local Settings\Temporary
    Internet Files
    What is the best way to do it? Is any way around this
    problem?

    Are you using 3 line just to make sure it working across
    multiple browsers?
    It looks that they doing same thing, am I right?
    I did test it on IE 6 and it looks like only
    <CFHEADER NAME="cache-control" VALUE="no-cache">
    does the trick
    and
    <CFHEADER NAME="Expires" VALUE="Mon, 06 Jan 1990 00:00:01
    GMT">
    <CFHEADER NAME="Pragma" VALUE="no-cache">
    does not make much difference.

  • How do I find the number of users logged on another server?

    I'm trying to ping other servers and find the number of users logged on that server. Any leads?

    Do you need maybe something like this?
    FINGER(1) UNIX Reference Manual
    NAME
    finger - user information lookup program
    SYNOPSIS
    finger [-lmMspho] [user ...] [user@host ...]
    DESCRIPTION
    The finger utility displays information about the system users.

  • Safari (10.5.2) crashes 100% of the time after successfuly logging on .Mac

    Safari (10.5.2) crashes 100% of the time after successfuly logging on .Mac portal.
    ... and Firefox doesn't.
    I've upgraded yesterday night to 10.5.2 and today (while behind an http proxy) I can't get to log in onto .Mac Safari crashes as soon as my login is processed.
    Problem Reporter, as always, can't report anything if siting behind am http proxy.
    I don't have specific plugins besides the usual QT and Flash players.
    So what now ?
    Thanks

    Hello,
    No, it doesn't. I've tried that already.
    christian studer wrote:
    Try trashing the preferences first (/Users/yourname/Library/Preferences/com.apple.Safari.plist) and see if that helps.
    I notice that Input_Managers is now called Input Methods. I've tried to move all of them away once. No avail!
    The crash reporter logs are always identical: EXCBADACCESS SIGBUS with processor eip: 0x92c5817f.
    This is as far as I've been today. As 10.5.2 has been out on the street for such a short time, perhaps some better clues will show up on this forum or somewhere else.
    Thanks,
    Crash happens on Thread 3:
    Process: Safari [580]
    Path: /Applications/Safari.app/Contents/MacOS/Safari
    Identifier: com.apple.Safari
    Version: 3.0.4 (5523.15)
    Build Info: WebBrowser-55231500~3
    Code Type: X86 (Native)
    Parent Process: launchd [371]
    Date/Time: 2008-02-12 08:09:25.045 +0100
    OS Version: Mac OS X 10.5.2 (9C31)
    Report Version: 6
    Exception Type: EXCBADACCESS (SIGBUS)
    Exception Codes: KERNPROTECTIONFAILURE at 0x0000000000000008
    Crashed Thread: 3
    Thread 3 Crashed:
    0 com.apple.CoreFoundation 0x92c5817f CFURLHasDirectoryPath + 15
    1 com.apple.CFNetwork 0x93f5d4bd _CFHTTPAuthenticationCreateFromResponseInternal + 3477
    2 com.apple.CFNetwork 0x93f57cba _CFHTTPProtHasCredentialsForChallenge + 70
    3 com.apple.CFNetwork 0x93f1fb89 performHeaderRead + 2719
    4 com.apple.CFNetwork 0x93f1f056 httpReadStreamCB + 3118
    5 com.apple.CoreFoundation 0x92c1e609 _CFStreamSignalEventSynch + 137
    6 com.apple.CoreFoundation 0x92c0c62e CFRunLoopRunSpecific + 3166
    7 com.apple.CoreFoundation 0x92c0cd18 CFRunLoopRunInMode + 88
    8 com.apple.Foundation 0x904fcac0 +[NSURLConnection(NSURLConnectionReallyInternal) _resourceLoadLoop:] + 320
    9 com.apple.Foundation 0x904995ad -[NSThread main] + 45
    10 com.apple.Foundation 0x90499154 _NSThread__main_ + 308
    11 libSystem.B.dylib 0x92100c55 pthreadstart + 321
    12 libSystem.B.dylib 0x92100b12 thread_start + 34
    Thread 3 crashed with X86 Thread State (32-bit):
    eax: 0x00000000 ebx: 0x93f5c735 ecx: 0x168646d0 edx: 0xa04094c0
    edi: 0x00000000 esi: 0x00000000 ebp: 0xb01bef48 esp: 0xb01bef20
    ss: 0x0000001f efl: 0x00010282 eip: 0x92c5817f cs: 0x00000017
    ds: 0x0000001f es: 0x0000001f fs: 0x0000001f gs: 0x00000037
    cr2: 0x00000008

  • RePopulate form with the information what user just submitted.

    I have one form. That form has one submit button. I have to create a new button in that form say call "New button". When user submits that form it will display result page. That result page will have one back button. When I hit back button I can go back to that form again. After I go back to that form when I hit "New Button" the form field will fill up with the information what user just entered before submit. I am using JSP and Struts in my application. This functionality is basically need for the user so that user do not need to entered the same information again.
    Can you please help me what I have to do for that?
    Thank you very much for your help.

    Well, in your program, do you have one Form, or do you create a new Form whenever it's needed (ie, when the program starts up, and when the Back button is pushed from the result page)?
    If you have one Form (which is the best approach in my opinion), then it probably follows this general structure:
    public class Form {
       public Form() {
          // Do some constructor work in here
       public void submit() {
          // This is probably called when the user clicks the Submit button
    }... obviously there's a lot more stuff going on inside the class that I have listed right there, but what I meant by 'storing the values as fields' would actually be really simple to implement.
    A field is:
    either class or instance member variables. non-local variables. Field also includes static final constants. http://mindprod.com/jgloss/fields.html
    In short, it's just a variable stored in your class.
    I'm sure you already have text fields and buttons as fields in your form class, probably like this:
    public class Form {
       private JTextField userNameField = new JTextField("Input User Name Here");
       private JButton submitButton = new JButton("Submit");
    }And if you don't, then you should probably adjust your structure so you do. Anyways, to store the data the user has input, just create Objects to store them.
    public class Form {
       private JTextField userNameField = new JTextField("Input User Name Here");
       private JButton submitButton = new JButton("Submit");
       private String userName = ""; // This is our 'name field.' It is set to whatever is in the userNameField when the submit method is invoked. It is what stores the user's name. In the refresh method, you can set the userNameField's text (via setText) to this value.
       // ...You could make a field for each thing you need to store, such as age, race, eye color, whatever.
    To implement 'storing' and 'using' these fields is also simple. You'd just need to adjust your submit method, and provide a new method that we'll call refresh. Now, by refresh I am not referring to a browser's refresh button which refreshes the page- I just named it refresh because it 'refreshes' our Form with the data the user previously input.
    public class Form {
       public void submit() {
          // Do submittal stuff
          userName = userNameField.getText(); // This line right here ensures that the user's name is 'stored.'
       public void refresh() {
          userNameField.setText(userName); // This line causes the userNameField to be 'refreshed' with the data previously submitted.
       }Hope that helps.

  • Maintaining the information of user who is login to BO

    Hi,
    I want to store the information about user who is login to BO Webi. Can i store this information to webi
    report.
    can you please help me...

    Hi,
    Are you trying to get information about when user logged in and how long was the session. how many users logged in and all. If so ..........
    As far as i know you need to configure your audit database and enable auditing where ever needed. Then you can generate reports required using Activity Universe.
    This detailed information is available in Admin Guide.
    http://help.sap.com/businessobject/product_guides/boexir31/en/xi3-1_bip_admin_en.pdf
    Go to chapters 12 and 13.
    Thanks,
    SK.

  • Hide portlet login after user logged-on

    Hi all,
    I've seen many post with the issue to hide a portlet but i didn't find a answer that help me.
    After user logged in, I want to hide the login portlet.
    I've tried a backing file, with the setVisible() method on the object PortletBackingContext in the preRender method but it didn't work.
    Can someone help me ? Is is something possible to hide dynamically a portlet or i must use another way to do it ?
    Thanks all for any answer.

    Use entitlements. Login to the portaladmin tool and navigate the library tab on the left column. Find the login portlet and click on it. On the right, click the entitlements tab.
    Entitle the view capability of the portlet to the "Anonymous" user role. This way, only anonymous users (users who are not logged in) will see this portlet.
    In the same way, if you have a User Info portlet that you should see only once you are logged in, entitle it to the "Authenticated" user role.

  • How to close browser window after user log out

    Hi,
    Does anyone know how I can close browser window after user logs out. The scenario is when user clicks a log out button I will invalidate user session and close the browser right away in the backing bean.
    Your help would be appreciated.

    Try run this and you'll see that it runs fine with no exceptions:
    <%
         String someText = "bla bla bla";
         response.setContentType("text/plain");
         response.setHeader("Content-Disposition", "attachment;filename=message.txt");
         try {
              ServletOutputStream os = response.getOutputStream();
              os.write(someText.getBytes());
              os.flush();
              os.close();
         } catch (Exception e) {
              out.println("ERROR: " + e);
    %>It looks like that after I've closed the outputStream I can't do any more processing in the JSP. Even if I remove the setContentType and setHeader methods it still behaves this way.
    I'm starting to think that there's no way around this...??

  • How to find the number of users log into ESS for last three months

    Hi Team
    Is there any transaction / Report to find the number of users logged into the ESS and used the payslip tab. Is this possible to find?
    Waiting for hopeful replies.
    Regards
    Bhaskar

    Bhaskar,
    you can use google analytics,
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/50b94044-7008-2b10-1680-c04e4526367b
    jo

  • How we know the Number of users logged into stratus?

    Hai,
    How can we  know the number of users logged into stratus? If we knows only,in our project we can check the users are valid/authenticated.can we check that?
    Advanced Thanx

    Stratus is adobe service which provides you with p2p id or say all your
    application's users a p2p id. Adobe doesn't have any admin section where you
    can manage/see all connected p2p users in your application.
    This you have to implement at your end in your application code i.e.
    authentication,validation and user counter.
    Thanks,
    Vivek.

  • Control the number of users logging in to the portal

    Hello,
    Is there any way to control the number of users logging in to the portal?
    Issue: We need to limit the users logging in Per Company (Access key).
    I read about the Activity Reporting in NW, and that would show us the stats, but does not let us control the logins.  I read all the forum posts on SDN about this topic, they were helpful, but none addressed our needs. 
    Has anyone implemented such functionality?  If we need a write a custom service or component to accomplish this, then which APIs should I be looking at?
    Our Portal Version: We are currently on EP6 SP2 PL 35, and in process of moving to NW.
    Any help on this would be much appreciated.
    Thanks,
    Harman

    Thanks for the replies, here's a little more info...
    We're working on project which allows a company to buy user licenses to access our portal.  So if a company has bought 5 licenses, the 6th user for that company will not be able to login.
    *Note: We treat each Access Key in the portal as a company.
    The way we determine if the user belongs to a company is by the AccessKey that is assigned to that user. We're not depending on IP addresses at all.
    Hope this clears the issue !
    I think we'll have to write some custom code to accomplish this.
    Thanks,
    harman

  • Restrict the number of users logging onto the JAVA engine

    hi
    IS it possible to restrict the number of users logging on the JAVA Engine, if YES, how ?
    Thanks
    Jonu Joy

    Thanks for the replies, here's a little more info...
    We're working on project which allows a company to buy user licenses to access our portal.  So if a company has bought 5 licenses, the 6th user for that company will not be able to login.
    *Note: We treat each Access Key in the portal as a company.
    The way we determine if the user belongs to a company is by the AccessKey that is assigned to that user. We're not depending on IP addresses at all.
    Hope this clears the issue !
    I think we'll have to write some custom code to accomplish this.
    Thanks,
    harman

  • Following upgrade from 2.1 to 5.0p4 server returns empty results after user logs on, why?

    With debug logging I see no errors. I verified no data goes out on the wire, after logon user is redirected to command.shtml, an HTTP OK is returned then nothing. Tried 'recovering' database with csdb, creating new users and exporting/importing data for existing users. Nothing resolves the problem.

    With debug logging I see no errors. I verified no data goes out on the wire, after logon user is redirected to command.shtml, an HTTP OK is returned then nothing. Tried 'recovering' database with csdb, creating new users and exporting/importing data for existing users. Nothing resolves the problem.

  • Getting the No of Users logged in the SAP system

    Hi Experts ,
    I have the requirement of finding the No of Users ( User Ids) logged into the SAP system.
    Is there any database table or FM to retrieve this information.
    Regards,
    Abhishek Kokate

    Hi Abhishek,
    Check out transparent table : USR41 (User master: Additional data) This may be the table you want to use.
    Or
    You can use SUBMIT command with the above stated report (RSM04000_ALV) - export the output( ALV data) to memory and then retrieve to use it as you want (as an internal table).
    example :
    DATA  BEGIN OF itab_list OCCURS 0.
            INCLUDE STRUCTURE abaplist.
    DATA  END OF itab_list
    SUBMIT RSM04000_ALV
      via selection-screen
        EXPORTING LIST TO MEMORY
          AND RETURN.
    * To read from the memory
    CALL FUNCTION 'LIST_FROM_MEMORY'
      TABLES
        listobject = itab_list
      EXCEPTIONS
        not_found  = 4
        OTHERS     = 8.
    Hope this is help full to you  !!
    Salil.

  • Is there a way to have applications run in the background after I log out?

    New to Mavericks, have a new iMac after being on Leopard for years. After I log out, all the applications I had running stop and close. Is there a way to keep those running? It seems like logging out, and the applications stopping, would negate the ability to see any notifications on the lock screen. I have multiple users set up on this computer, is that the reason?

    By definition, logging out means quitting all your processes. If you want to log in as a different user without logging out, see below.
    OS X Mavericks: Switch quickly between users

Maybe you are looking for