Get the user name of  sso user who  logged in from my partner application

Hello,
I have created a jsp web application and i registered it under oracle sso server. How can i get the user_name of the user logged in to the sso server from my web application in order to personalize my web page ???
Thanks in advance.

Hi zeliko,
Have you tried request.getRemoteUser() or request.getHeader("Osso-User-Dn")?
-Vinod

Similar Messages

  • LabVIEW 8.0:: How to get the group name of a user logged to a NI Security Domain?

    Hello all,
    I am using LabVIEW 8.0 PDS.
    I created a new local domain called "MyDomain" in the "NI Domain Account Manager" . I added a new User called "MyUser" and a new group called "Maintenance". I set "MyUser" to be a member of the "Maintenance" group. Then, I configured LabVIEW to invoke the login dialog at start-up in order to log "MyUser" with the correct password.
    I would like to get the group name of the current user logged programmatically in a VI. I tried with the VI Server >> Application >> Security properties and methods and also with the properties and methods of the NI Security Class but it seems to be not so simple as I believed at start.
    I do not find any informations or KB on this (all the documents I found deal with LV DSC or TestStand).
     The final goal is to be able to manage a list of user for my application. Each user is a member of a group ("Administrator", "Operator", "Maintenance") and depending on the group, the user can or cannot access to some parts of the application.
    Thanks for your help.
    Matthieu
    Eurilogic

    Re,
    Here is a screenshot of this functions...
    If you really own LV DSC 8.2 the best thing to do is to reinstall it.
    Regards, 
    Message Edité par Richard K. le 04-02-2007 04:00 AM
    Richard Keromen
    National Instruments France
    #adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
    >> Découvrez, en vidéo, les innovations technologiques réalisées en éco-conception
    Attachments:
    security.jpg ‏3841 KB

  • How to get the real name of a user from WFSYST-AGENT

    Hi,
    I am retrieving the WFSYST-AGENT value (which correspond to the US<user_id> of the agent responsible of a task) in a container variable in my workflow.
    I would like to get the real name of the user represented by WFSYST-AGENT. How should I do that ?
    Thanks in advance for your help.
    Thibault

    Hi,
    Take the user name and write a select for database table USER_ADDR fetching fields NAME_FIRST and NAME_LAST by passing BNAME = username.
    Regards,
    Jayesh

  • Get the groups name of a user in openldap authenticator

    Hi,
    I am using an openldap for user authentification. How can i retreive the groups name of a user ? I read that i must use the GroupManagerControl class.
    What is the way to specify the openldap authenticator using the above class ?
    Thanks for help.

    If you are referring to a user's group membership in the Active Directory, then indeed JNDI & LDAP can be used to retrieve these values.
    If you are referring to a user's local groups on their own workstation, then you may want to investigate either the JNDI NTLM provider or perhaps the Samba JCIFS stuff.

  • How to get the group name of a user

    Hi,
    I am using an openldap for user authentification. How can i retreive the groups name of a user ? I read that i must use the GroupManagerControl class.
    What is the way to specify the openldap authenticator using the above class ?
    Thanks for help.

    Re,
    Here is a screenshot of this functions...
    If you really own LV DSC 8.2 the best thing to do is to reinstall it.
    Regards, 
    Message Edité par Richard K. le 04-02-2007 04:00 AM
    Richard Keromen
    National Instruments France
    #adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
    >> Découvrez, en vidéo, les innovations technologiques réalisées en éco-conception
    Attachments:
    security.jpg ‏3841 KB

  • How to get the alias name of an attribute of a VO from its column name?

    How can I programmatically get the alias name of an attribute of a VO given its column name?
    Often alias and column names are not same when the VO is created (and I don't require them to be the same)

    Hello John.
    I will be more precise. When the VO based on a table comes out from the wizard, it produces xml entries like the following one:
      <ViewAttribute
        Name="ColumnName"
        AliasName="COLUMN_NAME"/>There the column of the table on the DB really is COLUMN_NAME. The wizard mangles that name producing ColumnName as Name property.
    This is ok. I don't want to change this default behaviour.
    What I need is to programmatically get the value of that attribute given its AliasName property value:
    String f(ViewObject vo, String AliasName) {
    return (String)vo.getCurrentRow().getAttributeFromAliasName(aliasName); // getAttributeFromAliasName does not exist
    // instead of return (String)vo.getCurrentRow().getAttribute(Name);
    That is, usually getAttribute expects what in the xml is the Name property. However, I want a sort of getAttribute() expecting the AliasName.
    I hope it's clear.

  • How to get the terminal name of http user?

    Hi Gurus,
    I use function TH_USER_LIST to get all online users. But for http users I can only get their IP address, but no terminal name.
    I searched the forum and tried the function RFC_IP_TO_HOST. However, when I input IP address it didn't return the terminal name.
    The http users are running BW queries in Internet Explorer. FYI.
    Any help is much appreciated!
    Regards,
    Frank

    Hello
    This code works:
      DATA: BEGIN OF SERVER_LIST OCCURS 0.
              INCLUDE STRUCTURE MSXXLIST.
      DATA: END OF SERVER_LIST.
      DATA: BEGIN OF USER_LIST OCCURS 0.
              INCLUDE STRUCTURE UINFO.
      DATA: END OF USER_LIST.
      DATA: BEGIN OF USER_LIST1 OCCURS 0.
              INCLUDE STRUCTURE UINFO.
      DATA: END OF USER_LIST1.
      DATA: USER_TERM LIKE RFCDISPLAY-RFCHOST.
      CALL FUNCTION 'TH_SERVER_LIST'
           TABLES
                LIST   = SERVER_LIST
           EXCEPTIONS
                OTHERS = 1.
      LOOP AT SERVER_LIST.
        CALL FUNCTION 'TH_USER_LIST'
             DESTINATION SERVER_LIST-NAME
             TABLES    LIST = USER_LIST1.
        APPEND LINES OF USER_LIST1 TO USER_LIST.
        REFRESH USER_LIST1.
      ENDLOOP.
      LOOP AT USER_LIST WHERE GUIVERSION IS INITIAL.
        IF NOT USER_LIST-TERM IS INITIAL.
          MOVE USER_LIST-TERM TO USER_TERM.
          CALL FUNCTION 'RFC_IP_TO_HOST'
               EXPORTING RFCIP = USER_TERM
               IMPORTING RFCHOST = USER_TERM.
          IF SY-SUBRC = 0.
            MOVE USER_TERM TO USER_LIST-TERM.
            MODIFY USER_LIST.
          ENDIF.
        ENDIF.
      ENDLOOP.

  • How to get the server name/hostname on which JVM is running?

    How to get the server name/hostname on which JVM is running from the Servlet or normal class?

    InetAddress.getLocalHost()

  • How do I stop the message "user name or password for iCloud is incorrect" from popping up 2 times in a row when i try to get mail from other accounts? thank you in advance

    How do I stop the message "Cannot get mail. The user name or password for iCloud is incorrect" from popping up 2-4 times consecutively every time I choose MAIL on my iPhone 4,  7.1.1  I have to select "OK" 2-4 times each time before I can read other email accounts.  I used to have an "@me.com" account which I think was automatically changed to an "@icloud.com account."  I opened a new iCloud.com account yesterday because I could not figure out how to get in the old ones.  I want to delete the original @me & original iCloud account.  When I try to delete the account, they tell me my DOB is wrong. I just want those pop ups to stop.  Thanks in advance for your help.

    Hi Suzanne,
    It sounds like you’re running into a password issue with an older Apple ID that’s setup on your iPhone, which is preventing you from removing an iCloud account from your device. Take a look at the article linked below, it outlines all of the possible ways to change an Apple ID password.
    If you forgot your Apple ID password - Apple Support
    After you enter your Apple ID, there are three ways you can change your password:
    Answer your security questions. Use these steps if you know the answers to your security questions.
    Use email authentication. We'll send you an email that you can use to change your password.
    Use two-step verification. If you set up two-step verification, you can use it to change your password. You just need your recovery key and a trusted device.
    So long,
    -Jason

  • How to get the specific name of the workset which is currently selected by the user in sap portal 7.0

    Dear Expert,
    I have one requirement like to read the selected workset name in portal by the current user.I have read two documents regarding how to retrieve the PCD contents (iViews, Pages, Worksets and Roles) and its properties like Created by, Changed by, Last changed by and others using PCD API.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/6112ecb7-0a01-0010-ef90-941c70c9e401?overridelayout=true
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/508baf88-9335-2d10-efa6-c6ad61e5fc4b?quicklink=index&overridelayout=true
    But I am not able to understand how to get the specific name of the workset which is currently selected by the user.Can you please help me.
    I am using portal 7.0.
    Thanks & Regards,
    Patralekha

    Hi Expert,
    I found that we can use Interface INavigationHelperService to read Portal Role selected by user at runtime from http://scn.sap.com/thread/52194
    But this class is available in SAP NetWeaver 7.30 Enterprise Portal .
    But in SAP NetWeaver 7.0 Enterprise Portal that interface is not available.
    INavigationService is available there.
    But didn't get any proper discussion on this interface for the same requirement.
    Can you please help me.
    Thanks & Regards,
    Patralekha

  • Getting the active role of an user in a trigger

    Hello forum!!
    I've been searching to find out if and how I can get the active role of an user when programming a trigger.
    Unfortunately I did not succeed in finding some information about this. Is it possible? If yes, how?
    Thanks for any hint regarding this topic.
    Sebastian

    Thanks for the answers. This helped a lot but it does not seem to work within my triggers.
    CREATE OR REPLACE TRIGGER InscriptionsInsert BEFORE INSERT OR UPDATE ON Inscriptions
      FOR EACH ROW
      DECLARE
        active_role VARCHAR2(11);
      BEGIN
        SELECT role INTO active_role FROM session_roles WHERE role != 'CONNECT';
        IF :new.ni < 1000 AND active_role = 'ind_service' THEN
          RAISE(ABORT, 'le service individuelle ne peut pas faire les inscriptions pour des sportifs');   
        END IF;
        IF :new.i >= 1000 AND active_role = 'eq_service' THEN
          RAISE(ABORT, 'le service equipe ne peut pas faire les inscriptions pour des equipes');   
        END IF;
      END;
    CREATE OR REPLACE TRIGGER ResultatsInsert BEFORE INSERT OR UPDATE ON Resultats
      FOR EACH ROW
      DECLARE
        forme VARCHAR2(12);
        active_role VARCHAR2(11);
      BEGIN
        SELECT forme INTO forme FROM Epreuves WHERE nEpreuve = :new.nEpreuve;
        SELECT role INTO active_role FROM session_roles WHERE role != 'CONNECT';
        IF forme = 'individuelle' AND active_role = 'eq_service'
          RAISE(ABORT, 'le service equipe ne peut pas enregistre des resultats pour des sportifs');
        END IF;
        IF forme = 'equipe' AND active_role = 'ind_service'
          RAISE(ABORT, 'le service individuelle ne peut pas enregistre des resultats pour des equipes');
        END IF;
      END; 

  • Function module for getting the created or changed by user

    hi ,
    iam using the t-code ob 52
    inthat iam i not getting the created or changed by user
    so is there any function module which gives created r changed
    by user .
    it shhould take the input as t-code and it has to display
    the created r changed by user ........
    pls help ..........

    In OB52, in menu : Utilities, change log. This use Database log analysis. Try calling transaction [SCU3|https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_forums_rm&query=scu3&adv=false&sortby=cm_rnd_rankvalue].
    SCU3 transaction call report [RSTBHIST|https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_forums_rm&query=rstbhist&adv=false&sortby=cm_rnd_rankvalue] which call [RSVTPROT|https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_forums_rm&query=rsvtprot&adv=false&sortby=cm_rnd_rankvalue]. You may also use FM like [DBLOG_EVAL_CALL_FOR_SEL_OBJECT|https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_forums_rm&query=dblog_eval_call_for_sel_object&adv=false&sortby=cm_rnd_rankvalue] or [DBLOG_EVAL_CALL_FOR_SEL_CHAP|https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_forums_rm&query=dblog_eval_call_for_sel_chap&adv=false&sortby=cm_rnd_rankvalue], perform some where-used on RSVTPROT.
    Regards

  • JTable problem : how to get the last value entered by user + event lost

    Hi all,
    I have 2 problems with Jtable class.
    1 => To get the last value entered by user in a cell,
    it seems that we must change the selected cell.
    That is to say we can only have the previous cell's value.
    Is there a simple way to get the current value of any cell ?
    2 => To resolve the problem i store the values of each cell in a vector and i intercept keyboard event (!)
    BUT, when i do a double click with the mouse on the Jtable, i loose keyboard events. Then, i can't intercept them.
    Is it a bug of swing or am i following a wrong way ?
    Thanks by anticipation for your help.

    You have to fire the "TableCellUpdatedEvent"
    and override the getCellEditorValue in TableCellEditor to return the current value

  • Query to get the Discoverer privileges granted to user / responsibility

    Hello,
    I am discussing the oracle applications EUL here.
    I am interested to know the privileges granted to a user / responsibility from backend or any option with "eulapi" utility which can be used to list the same.
    Which EUL table should I query to get the privileges granted to a user / responsinility?
    Thanks,
    Ajay

    Hi Ajay,
    Which EUL table should I query to get the privileges granted to a user / responsinility?Go through this link you wil get what your looking for.
    Re: List of Users in Admin layer under Privileges
    Hope this helps you.
    Best Wishes,
    Kranthi.

  • How to get the Share Name in windows using java...

    Hi....
    i want to get the Share names of the shared folders in windows.
    I used the command line tool "net share" to get it .But i can't extract the
    share names correctly if the share name contains space.
    Regards
    ~ Suresh G

    Of course there is, if the user running it has "root" privileges (actually root userid or groupid if the permissions have been changed), but if you are going to do that, then why use the lookup at all, simply hardcode it in the program.
    If it is because you don't know how to do it, then I would say to find someone you know who can show you how. That is infinately easier than trying to explain the structure and purpose of the hosts file to you here.

Maybe you are looking for

  • Problems with JDOm XPath

    Hi all. I have a JDOM XML document and I use JDOMXPath to apply XPath expressions on the XML document. I have XPath expression for which JDOMXPath does not match any node: //*[not(count(descendant::a) < 4)] [not(descendant::node()[count(descendant::a

  • Calling a function from within a movieclip

    How do I do this, and Is it wrong to do it this way? I have a movieclip on the timeline and within that movieclip it has buttons which I've placed listeners. I'm doing it this way rather than putting the code in the document class because the buttons

  • Can i implement a C program in Java?? HELP

    Is it possible to open in a javaprogram, a C program in the same window? and if yes, how should i deal with it? How can i do this? Thankz

  • [svn:fx-trunk] 10182: This is a bug fix for DropDownList.

    Revision: 10182 Author:   [email protected] Date:     2009-09-11 16:15:57 -0700 (Fri, 11 Sep 2009) Log Message: This is a bug fix for DropDownList.  When Label changed from a GraphicElement to a UIC it started blocking the mouse events from the ancho

  • Corrupt Files When Backing Up iTunes Library

    Hi I want to back-up my iTunes library so that I have it incase anything goes wrong. I have read the article on how to back-up to an external hard disk (http://support.apple.com/kb/HT1751) and have bought a 16GB USB memory disk to put the contents on