How to know if user (session) is authenticated in other application (SSO)

Hi folks!
We've deployed various J2EE applications in some OC4J instances. So far the applications used SSO Authentication against OiD (LDAP), but we need a public access application.
The problem is the following: we need a different behaviour in this last application (without authentication characteristics) depending on one user is authenticated within other application that required SSO login.
How could check if current user (session) si authenticated against SSO, for example, in ADF-STRUTS DataAction class?
We tested the gerRemoteUser() method but is only works within the applications requering login.
Please, anyone could guide me?
Mike
Thanks!

Hi,
Oracle AS Single Sign ON stores some of the attributes of an authenticated user in a browser cookie - the name of the Cookie is SSO_ID.
You cannot get any information from this Cookie. The Cookie is avaliable only to the Oracle AS Single Sign ON and is meant to be used only by it. You cannot read any useful information from the Cookie as it is higly encrypted.
If you need to know the name of the currently logged in user, your application should be a Partner Application or an External Applciation to Oracle AS Single Sign On.
The reason is simple - you can use your browser to connect to many Websites protected by Oracle AS Single Sign ON. Thus, if your application isn't a Partner or an External Application registered with SSO, your application can't establish a context.
Hence, your application needs to be registered as a Partner Application or an External Application with SSO.
An application which is nto registered with SSO cannot get the User information from SSO. The getRemoteUser() method would always return a null in such cases.
Regards,
Sandeep

Similar Messages

  • How can know which user accessing specific form in ERP application

    Hi,
    In our organization we have ERP application that is developed based on Orace forms and reports 10g.
    My question is how can i know which user accessing specific form in ERP application based on their login.
    Please do the needful.
    Regards,
    M. Satish

    What I infer from your statements now, significantly different from your OP, is that you do not have any logging mechanism and now want to introduce logging with minimum effort.
    If that is the case you can add the logging code in your Menu(s), before the CALL_FORM/NEW_FORM. Fewer object(s) to modify, but roughly the same lines of code get added.
    Regards,

  • How to know if a session finished in jsp

    Hello,
    How to know if a session finished in jsp?
    Help me please.
    Best Regards.
    Joseph

    Depends. You can create a javax.servlet.http.HttpSessionListener implementation and register it in the web.xml file (I forget the syntax, though), which can notify you of sessions being created and destroyed.
    Or you can create a javax.servlet.http.HttpSessionBindingListener implementation and add it to the session (setAttribute()) and it'll have it's valueUnbound method called when the session expires (or the attribute is removed, but if you don't remove it, the session invalidating will). That's a good place for session-specific clean-up.

  • How to know active user in Ad ? & how many days from not use user id ?

    How to know active user in Ad ? & how many days from not use user id ?
    Thanks & Regards, Amol . Amol Dhaygude

    Hi Amol,
    You can use the below command from the command prompt of DC to get all the AD users who are inactive for last
    X weeks,
                                    dsquery
    user -inactive X 
    To extract the inactive user information to a CSV file use the below command,
                   dsquery user -inactive X > c:\TestFolder\InactiveUsers.csv
    NOTE: The value
    X represents number of weeks, for example if your requirement is to find the inactive users for last 90 days then the
    X value should be 13.
    Regards,
    Gopi
    JiJi Technologies

  • How to know when a session expires

    Hello,
    I want to know is there any way to know when a users session ends or when he moves to another site. For example in a Chat to know when a user after logging in just closed his browser window without logging out and then how to remove that users name from our users list.
    Is there any event that fires to notify that a user's session has ended and then we can remove his name from logged on users list.

    Hi honey jal,
    Here I am giving you related url , which tells about chat discussion when session is going to be ends. I hope this one help you out.
    http://groups.yahoo.com/group/www-talk/message/9626
    Regards
    Tirumalarao.
    Developer Technical Support,
    Sun Microsystems,India.

  • How to know when a session has gone by closing browser or leaving site.

    Hi! I'm doing an application that uses the session API. This application must run in every java-enabled web-server. I want to know if there is a way to know when a session has gone. I mean, you can know this if, for example, you call the isNew method. But for example, if you close the browser, the session is gone, but obviously, I can't call the isNew method from anywhere, so... how can I know when the session is killed by closing de browser or if the user leaves the site. You can use the onUnload of JavaScript, but I don't want to call a new window when this happens.
    Hope you can help me!

    You probably can't tell. But then you don't want to do that logic anyway... I was just at your site, and I was signed on, then somebody came in and asked me something so I had to look at another site, then I pressed the back button and now I'm at your site again, but you signed me out? What's with that?

  • How to check if a user session is active in Java application server

    Hi Experts,
          We have a online scenario with a third party system by which a portal user will launch the third party application in a new window from portal. The SSO will work at the third party web application with the dynamic key that is generated by calling a webservice for that user. Now, as the user works on the launched screen, they will have to check whether the user (logged in portal) session is still active. ie., they will be periodically calling a service hosted by SAP java application server to find out whether the corresponding user who launched the session is still logged in or logged out.
    So, my question is, how can i find out programatically whether a user/user's session is still logged in/active in SAP Netweaver Java AS? We are in version 7.3.
    Kindly help me in this regard.
    Regards
    Vijay.K

    Hi Vijay,
    Could you check below links
    Tracing Single User Sessions - Administration - SAP Library
    Display and Manage User Sessions (SAP Library - Tools for Monitoring the System)
    Hope this helps.
    Regards,
    Deepak Kori

  • How to Know total users in Portal

    Hi,
    How to know the total users in Portal.I gone to User Administraion and tried to search in that with out any parameter then I got a message like "Last search Exceeded the size limit of the Server.Search result is incomplete." and "Last search returned with 1000 elements.". But I want to know the TOTAL USERS in the PORTAL.
    Can u help me in this regard. Urgent.
    Regards
    Krishna

    Hi Krishna,
    the paged search is possible by using the
    parameter "ume.ldap.access.extended_search_size" in your configuration XML.
    Just set a value blow 1000 e.g. 900 as like in this
    example and all entries above 900 will be paged:
    <ume.ldap.access.extended_search_size>900</ume.ldap.access.extended_search_size>
    Do not forget to restart and check the values "Max. Search" and "Warn. Search" set for  the Admin-UI.
    Regards
    Stefan

  • How to make an user into Service authenticated user like cmadmin_service

    Hi All,
    I am trying to fetch the list of documents, properties, log on/logoff functionality with an iUser  ex: epuser, through java code.
    The list of docs are presented in the Documents Folder with teh following sample code
                 |
    RID rid = RID.getRID("/documents");
    String userName = "epuser";
    IUserFactory userFactory = UMFactory.getUserFactory();
    com.sap.security.api.IUser userNew;
    userNew = userFactory.getUser(userName);
    com.sapportals.portal.security.usermanagement.IUser user = WPUMFactory.getUserFactory().getEP5User(userNew);
    ctx.setUser(user);
    IResource res = null;
    res = ResourceFactory.getInstance().getResource(rid, ctx);
    wnen i am trying to fetch all the docs and the corresponding properties by passing " cmadmin_service " as an user name. i am getting the right results. But when i tried with "epuser " i am getting the output as Service Authentication value false.
    Then i added epuser in the System Principal--->System User. still i am not getting the right results.
    plz help me how to make this epuser as service authenticated user like cmadmin_service user

    Hi phani,
    I have no direct solution but you should check the service permissions of the resources you are trying to fetch. The exception sounds like there is the problem. Go to the Details of the CM-Resource and Select Settings-->Service Permissions.
    Does the epuser has the necessary permissions for your operations?
    Another thing is the way you are creating users:
    The WPUMFactory has a special factory-method for creating service users. Perhaps this is a better aproach:
    WPUMFactory.getServiceUserFactory().getServiceUser(user);
    Best regards,
    Stefan Brauneis

  • MDM How to know the user to check out

    Hi,
    How can we know the user that can "Join Check out" for an article in MDM?
    We have some articles in grey and we don't know the user associated with it...
    Thanks for answering.
    Regards
    Maria

    Hi,
    Please find below links which can solve your problems
    http://help.sap.com/saphelp_nwmdm71/helpdata/en/4a/c909ec649e246fe10000000a42189c/content.htm
    http://help.sap.com/saphelp_nwmdm71/helpdata/en/4b/134fe7bd166bb6e10000000a42189c/content.htm
    Please let me know if your problem is not solved by this.
    Thanks and Regards
    Praful

  • How to delete last user session from backend SQL query?

    Sometimes user session gets closed between some work by any reason.
    When next time that user logs to P6, he gets some error or particular functionaly dosen't work for that user or system hangs.
    In that case if i decided to clear last session history of that user from database, how to write SQL query?
    I don't want to delete all user sessions from table USESSION and USESSAUD, i simply want to delete last user session of particular user (E.g XYZ).

    I am quoting this from MOS Doc Id "Why would multiple session records be present in the User Sessions screen in P6 Web, and why might some of them have different IP addresses? (Doc ID 1600172.1)"
    Multiple sessions show up for users since different sections of P6 Web have their own sessions associated with them. If a user is authorized to use multiple areas of the software they will have multiple sessions each time they log in. Additionally, if users are closing their browsers before logging out of P6 Web Access you might see some past sessions still appearing in the list. These will eventually be cleared out by background jobs, however you can also reset the sessions in the software by clicking the "Reset User" link (Administer > User Sessions > Manage User Sessions), or by choosing the "Reset All Users" link (Administer > User Sessions > Manage User Sessions) to do this for all past sessions.
    Multiple IP addresses for sessions can happen when a user logs in from different machines. For example, a person may login at their desk, but then go to a colleagues workstation to discuss a project, and log in from there. Doing so will leave them with multiple IP addresses in the session records.
    Hope this helps
    Regards,
    Sachin Gupta

  • How to know whether User is Buyer or not?

    Hi,
    I am developing a function module to create/update/unassign Employee Org Hierarchy. In this I have to know whether User is BUYER OR NON BUYER?.
    If user is assigned to purchase org/purchase group then he will be BUYER or else he will be NON BUYER. If once I come to know whether user is BUYER OR NOT, then I have to proceed further differently in both the cases.
    Pls help me out in this regard asap.
    Thanks & Regards,
    Nagaraju Maddi
    Message was edited by: Nagaraju Maddi

    Nagaraju
    Buyer will be having purchaser roles like SAP_BBP_STAL_PURCHASER, SAP_EC_BBP_PURCHASER, SAP_EC_BBP_ST_PURCHASER. Check the roles of the users. If you find Purchaser(standard roles) or Buyer(in case of customized roles) in their roles then he/she will be buyer.
    Similarly Non buyer user will be having Employee role like SAP_EC_BBP_EMPLOYEE.
    Hope this will help you.
    Do reward points for helpful solution.
    Regards
    Jagdish

  • How to know the User name and date, who executed the report last time.

    Hi All,
    We are collecting a list of reports which are not executed for past 3 months. Can anybody tell me how to know the username and date they executed the report last time.
    Is there any table to look ? or is there any process ?
    Thanks,
    Ravi.

    Ravi,
    Use SE16 - then look at rszcompdir.
    We look up Version = 13 for queries.
    Regards
    Gill

  • How to know which user shutdown the server

    Hi,
    Is there a way to check which user has shutdown the server in windows server 2012.
    I know Event Id : 1076,1074,6008 gives information about system shutdown.but want to know which user did that ?
    thanks

    Steps to see which user shutdown the system:
    1. Go to event Viewer
    2. Right click on system and -> Filter Current Log
    3. For User Shutdowns, click downward arrow of Event Sources -> Check User32.
    4. In <All Event IDs> type  1074 -> OK
    This will give the list of Power off and restart events. It will have the date and time as well as Username.

  • How to know that URL is currenty open into other Group Tab feature ?

    Hello Firefox team,
    I use a group tab features (CTRL+SHIFT+E) and I have open many URLs in many group tab's. This URLs are on one domain because I work on one SupportTeam website and all cases/tickets have different URLs.
    I don't know that I open a duplication tab (cases/ticket) who is open in other tab or on tab in other group tab.
    How to know that URL whom I open is a duplication?.
    Best Regards
    Marcin Przysowa

    I upgrade FF to 10.0 version. The situation is the same.
    For me some information bar is perfect like:
    This URL is open in $grouptab_name.
    By click into that hint I should be jump to older tab in $grouptab_name.

Maybe you are looking for

  • How can I copy GarageBand projects to a new iPad?

    I recently got a new iPad Air 2 running 8.1.1  and I wanted to transfer GarageBand projects from my old iPad 3 running 8.1.2 to my new device. I found this harder than I expected. You'd think the help instructions I found at http://help.apple.com/gar

  • Error 1325

    "error 1325 Premiere Elements 4 this is not valid file name" Pls help now I can neither install or uninstall This happened after installing PowerDVD 10th ..

  • Ann: Retroweaver - Run 1.5 class files in a 1.4 VM

    Hi folks, I've just posted the first release candidate of a free, open-source program that lets you run your 1.5 class files in a 1.4 VM. You can check it out at http://retroweaver.sf.net. Please give it a spin and let me know what you think. God ble

  • Can't buy TV shows on Touch?

    I want to purchase and watch a TV show on my iPod Touch (1st gen). I go to the iTunes app (pink icon), and search. No TV shows are returned in the search results. I KNOW these are for sale in the iTunes store - why can't I buy them from the Touch?

  • Yosemite Time Machine memory leak chewing through memory?

    I installed Yosemite 10.10 on my 27" iMac (Intel Core i5) with 12 GB of RAM. After plugging in my external drive to make a backup with Time Machine, I noticed the indicator in my menu bar from Memory Clean was red and showing less than 15 MB of free