How to manage User Session in Adf ?

Is there any guide line to manage the user session in adf ?

View layer Http session if it is not a desktop based application. Model layer also you can store session using
getSession().getUserData()But before that the information you provided is not enough. You need to describe in more detail of what session and what exactly are you looking for

Similar Messages

  • Manage User Sessions

    I know how to manage user sessions from Visual Administrator using Security Provider Service - Login Sessions. How can I do the same using SAP Netweaver Administrator?

    HI,
    What do you mean? usualy you use users ....... by going to T-CODE su01..
    Your question is not clear. There is such nothing called using SAP NETWEAVER Administrator. or I dont have knowledge.
    Hope You got the work done by going to su01..
    Thanks,

  • How to Handle user Session in JSP

    Help me,
    How to handle user session in JSP.......

    Prakash_Pune wrote:
    tell me some Debugging tech. so i can overcome from my problem.....Do you use an IDE? Any IDE ships with a decent debugger where in you can just execute the code step by step, explore the current variable values and check what exactly is happening. For example Eclipse or IntelliJ. If you don´t use an IDE, then just place some System.out.println() or Logger.debug() statements at strategic locations printing the variables of relevance so that you can track in logs what exactly is happening.
    or tell any other way to find is my page is thread safe or not...Just write correct code and narrow the scope of the variables as much as possible. If you for example assigned the user object to a static variable or as a servlet´s instance variable, then exactly the same user object would be used everywhere in the application. That kind of logical things.

  • Multiple user sessions for ADF application

    Hi All,
    We have a ADF application with 3-4 pages starting with a login screen.
    Assume we have two users, user1 and user2. In same system but different browser windows, when both users are logging in, only user2 's session is active. Though user1 logged in first and is able to perform transactions, the moment user2 logs in, user1's session is being over-written by user2 (user1's window now displays user2's information). I have observed the URL of user1 window which now changes to user2's URL (_adf.ctrl-state parameter of user2 is displayed in user1 browser)
    How do we overcome this?? We have a requirement to be able to open multiple user sessions.
    We are using JDeveloper 11.1.2.3.0 and browsers being used are IE 8, IE9 and chrome.
    Thanks,
    Deepti

    Hi,
    Continuation to my above question
    I am using these two statements in my code..
    ExternalContext ectx = FacesContext.getCurrentInstance().getExternalContext();
    HttpSession httpSession = (HttpSession)ectx.getSession(true);
    On any event in Window1, I gues it is getting the context and session of window2(this being the latest)..
    Shouldnt it return the context and session of the current window instead of the latest window???
    This problem is well explained here
    internet explorer 8 - How to avoid session sharing provided by IE8 programmatically in Java EE application? - Stack Over…
    I want to know.. what is the best way to handle this in ADF... We are using managed beans with request scope and using HttpSession to store few values like user Id.

  • Managing user sessions in RDS on Server 2012 R2

    I'm planning on deploying Server 2012 R2 Remote Desktop Services, and I'm finding I'm going to have to go to a training class!  Unfortunately, I don't have the time to do that before deploying. I've figured out how to use policy editor to configure
    what I used to accomplish in "Terminal Services Configuration". What tool do I use to manage Remote Apps, and what tool do I use to view session details? I know I can remote control user sessions from Task Manager, but that doesn't give visibility
    to view session idle time, logon time, etc.

    Is it on a Domain or Workgroup, if it is on a Domain (and you had previous experience with RDS 2008/R2) then you can simply read this guide
    http://social.technet.microsoft.com/wiki/contents/articles/20684.management-how-to-changes-for-rds-in-windows-server-2012-and-2012r2.aspx
    If it is on a workgroup you have to do a bit more to get it right. The only problem is if you are on a workgroup you can not have RemoteApps
    Hope this helps!

  • Limit user session in ADF security

    I want single user work in web application only with a single session at any time. How can I limit user sessions?

    Hi,
    +1. How can I override ADF security (based on JAAS) credentials checking mechanism j_security_check ?+
    Why do you want to override this?
    +2. How can I store users log-in log-out information in database? Which classess and which methods must be overriden? Can you show code sample of your realisation, please?+
    Authentication is not handled by ADF but WebLogic Server. If you want to track database login information you will need to write a custom JAAS Login Module and configure it as an authentication provider in WLS
    How can I check if user closed browser?
    I would use a temporary cookie with no lifetime. This way, when the browser is closed, the cokie is unavailable, indicating that the user is good to login again. However, this then allows users to start 2 sessions using different browsers (again something you would need to check)
    Frank

  • How to manage several sessions

    Hallo,
    my problem is following :
    I develop an online shop system in which user sign up and buy some items.
    the user information and the item information will be saved in an HttpSession object and then the user will be forwarded to a epayment gateway (paypal or ipayment) and pay the amount and will be forwarded to my site again.
    in this time I get some information from epayment gateway, control them and if they are true I want to save the payment, user and item information to the DB but in this case I can not reach to the first information which I have already saved to the session (I think i get a new session from payment)
    how can I manage this sessions together without lose any information?
    thanks a lot
    Taylan

    I don't think you want to do it this way. I think this strategy will work better:
    1) save initial data to database, get ID
    2) epayment redirect with ID
    3) update database with results
    If the user interrupts the payment you will have a record in your database that is incomplete, but that can be cleaned up through a regular maintenance task, if you even want that (might be useful to have orders that are placed but not succesfully paid for, if the user is having problems you can perhaps contact them manually to assist them (you = owner of website)).
    This way no session needs to be maintained, all you need is an ID value that you can send along through the payment routine.

  • How to manage the sessions in struts framework

    i have an application which is a multi-user login(say public portal) for this i used struts fram work how can i manage the sessions for this

    Use iTunes on your computer to store items that you want to save but are not needed on the iPad. Learn to sync and also learn how to do file transfers. Delete unneeded items from the iPad.
    When you connect your iPad to iTunes you will see a bar describing how much of your storage space is being used on your iPad. I always suggest leaving plenty of space open for the iOS and apps to operate.

  • MapViewer: how to manage user selections in business components Java class

    Hi list,
    I'm a GIS developer with experience on Mapserver and Mapguide. Buit I'm totally new on Oracle Mapviewer and I'm doing a feasibility study on a project where I basically have a very simple GIS use case, but I don't know if it is possible to manage by use Oracle ADF Java API and Oracle Mapviewer.
    I would like to use JDeveloper / ADF Business Components / ADF Faces.
    This is the use case:
    - Mapviewer should display a polygon layer from Oracle Spatial
    - Mapviewer should display a polygon layer from WFS
    - User should be able to select a polygon on Oracle Spatial layer and another polygon in WFS layer
    - ADF Face map control should:
    a) hilglight these two polygon
    b) execute my buiseness component Java function passing the user selection (id?... coordinates?... or anything useful to get these two polygons in the business Java function) as parameter.
    Is it possible?...
    Any suggestions (or samples) for point b)?...
    Thanks in advance for any help

    Hi Arnd,
    Thanks for answer.
    Can you adreess me to some ADF project that include ADF Geographic Map control?
    I've carefully studied what explained in manuls contained in JDeveloper Help. I've made something, but I have some issue I can't solve.
    Here you are in details what I've made:
    1) I've installed Mapviewer Quick Starter Kit
    2) I've configured themes and base map by use on MapBuilder
    3) I've built an ADF application with separated business and model-view-controller projects
    4) I've created entities and views in ADF business project
    5) I've created a JSF page in model-view-controller project
    6) I've put inside page an ADF Geographic Map assigning my base map and his related toolbar.
    Up to now it worked fine. My problems started at this point, on the attempt to add themes to be exposed to user interaction.
    PROBLEM 1
    I've seen that there are basically two options to add theme for user interaction:
    a) add a predefined themes
    b) add a color/point/graph bindable themes
    Option b) seems not fit for my needs.
    Color theme is only for regions and forces me to set a range of colors (I want to set exatctly two different color for two different table attribute value).
    Lines seem not covered from any of them.
    So the solution should be option a), predefined themes. But predefined theme seems not selectable and I don't know how to attach a selection listener.
    Please note (about selection listener) that in JDeveloper Help, book "Web User Intercace Developer Guide", "Using ADF Geographic Component" there is a code sample, but the explaination on how to enter the backing bean method is truncated (it says "For example," and stop, nothing else).
    My questions are: predefined theme can be selectable? And how can I attach the selection listener?.
    PROBLEM 2
    Up to now I've made no test on WFS themes, but of course, also these themes should be exposed to user interaction in the same way of predefined layers.
    Is it possible?...
    PROBLEM 3
    Legends activated by ADF Map Toolbar seem not working for predefied themes, they display nothing.
    Is it possible to fix or workaround in some way?...
    PROBLEM 4
    Are there any way to print maps?...
    Best regards
    Francesco

  • How to retrieve User Session in Xcelsius 2008

    Hi
    I am currently building dashboards with some securities on display. The dashboards have to show different views (e.g. Manager view with full access of data and Employee view with partial access of data) for different users, and I expect to get the user information (particularly user name) from the BO user session for making the security decision.
    I can successfully retrieve the user session from Dashboard [url button] to JSP using openDocument (by looking at the cookies), but it seems that I have no way to import the data back to the Dashboard. When I am using Data Manager > XML Data (With XML datasource is a JSP file), it seems the user session cannot be retrieved.
    So, my question is, how to retrieve the user Name in Xcelsius 2008 ?
    Any help is greatly appreciated.

    Hi,
    we did also some research activities about Xcelsius. We are passing the user name to the Xcelsius via Webservice. Based on the portal integration, you do not have to care about the authentication to the Webservice. This does the Enterprise Portal for you. For the integration, we are currently using a BSP solution. In this way, you can get the user name very simple:
    sy-uname
    You can put into the Webservice or provide it as Flash Variable to the Xcelsius in the <OBJECT> tag.
    Take care,
    Thomas

  • SSO and how to Managing User Roles/Privileges with Forms using Oracle db

    We are in the process of implementing Oracle Application Server SSO with our custom Forms application using Oracle database -- all 10.2.0.1.0 version.
    In our Forms Applications, we have about a dozen roles we have assigned to various users. We need to identify each user using our Forms because we are using the GLOBAL USER throughout the application.
    Questions:
    -- Do we have to create users/passwords in both OID and application database?
    -- Is there a way to easily manage the user and passwords between SSO and Forms App/database in one place? For example, how does a user change their password once, but actually change it in both the database and SSO?
    Any advice and/or direction would be greatly appreciated.
    Thank you,
    Mika
    Edited by: user11846198 on Sep 1, 2009 1:41 PM
    Edited by: user11846198 on Sep 1, 2009 1:53 PM

    Yes, you can have global roles in the DB and assign this roles to specific OID users, and the will heritage the privilages, you can do this using Oracle Identity Management Web Tool http://hostname:7777/oiddas is not complicated.
    Greetings.

  • How to use global session in ADF

    Hi all,
    My problem is that I have several sessions that connect to a table in an ADF application. If I update some data in one session and commit, the other sessions do not see it until they requery the data because they are using their own local sessions and caches. I want the changes to be seen by all the sessions. Is there something like a global session in ADF?
    Thanks in advance,
    S/\EE|)

    Hi,
    From the documentation
    "For example, say you have a page that lists all products, and a user can navigate from that page to another page to create a product. A button on this page both creates the product and navigates back to the list page. In order for the user to see the product just created, you must set the iterator binding for the product list to cacheResults=false. Doing so forces the iterator to reexecute when returning to the page and display the newly created product."
    Frank

  • How to check user/session generating a lot of archivelogs?

    Hi,
    On a 10g database, How do i look for the user/session that is generating a lot of archivelogs?
    thanks in advance,

    For currently connected sessions, you could query V$SESSTAT (joining to V$STATNAME). Thus,
    select s.sid, s.value
    from v$sesstat s, v$statname n
    where s.statistic#=n.statistic#
    and n.name = 'redo size'
    order by 2
    /However, there are a few complications :
    1. Persistent Sessions will show up with very high statistics, simply because they haven't disconnected. Many applications maintain Persistent Sessions for either of
    a. Monitoring and Running User Submitted or ScheduleD Jobs (eg in Oracle EBusiness Suite or Peoplesoft)
    b. Connection Pooling
    2. Sessions that have already disconnected will not appear in your report.
    Therefore, you'd have to "sample" sessions frequently and find the incremental redo size. Then, another complication hits you :
    c. Oracle reuses Session IDs. Once a session disconnects, another connecting session may get the same SID. It wouldn't get the same SERIAL# immediately so you might want to use a combination of SID+SERIAL# from V$SESSION as your key (you'd have to add V$SESSION into your monitoring query) Even then, I wouldn't guarantee that the pair wouldn't repeat after some time, particularly with instance restarts.
    You'd be better of using AUDSID from V$SESSION as that value is incremented (and not reused) by session auditing.

  • CISCO ACS, How to Limit User Session ?

    Hi Guys,
    hope you would help me,
    how to limit the user session in ACS 5.x ?
    i'm aware the menu on
    Access Policies >Max User Session Policy > Max Session Group Settings
    i already set the global value to 1, Max Session for User in Group to 1, and Max Session for Group to 1.
    so it means the user only could open 1 connect at the same time right?
    the problem, it didn't works.
    i had 1 ACS 5.5
    2 CISCO Cisco IOS Software, 3700 Software (C3725-ADVENTERPRISEK9-M), Version 12.4(15)T13, RELEASE SOFTWARE (fc3)
    (let's call it R1 and R2 )
    i'm trying to telnet both of them at the same time, and it works ( it means the session limit didn't works, cmiiw )
    i already include :
    radius-server attribute 44 include-in-access-req
    radius-server host 192.168.217.98 auth-port 1645 acct-port 1646 key somekey
    on the line vty :
     accounting connection acs
     login authentication acs
    am i missing something?
    also, is this feature works on tacacs+ too?
    Thanks,

    Dash,
    You can leverage the group mapping feature where members of a certain AD group are mapped to a local group in ACS with the max sessions defined.
    http://www.cisco.com/c/en/us/td/docs/net_mgmt/cisco_secure_access_control_system/5-3/user/guide/acsuserguide/access_policies.html#pgfId-1162308
    Thanks,
    Tarik Admani

  • How to check users session

    hi,
    I need to check user session like how much cpu a particular user consuming, user's session time and what activity he is doing(i.e. how many sql statement worked on and currently working).

    The below query will give you details on :
    SID/Serial, Foreground, Shadow, OS User, Ora User, User Module, Status Flags, Tran Active, Login Time, Last Call, Lock/Latch, Latch Spin, Current SQL stmt, Previous SQL stmt, Session Waits, WAITED Locks.
    set serveroutput on size 50000
    set echo off feed off veri off
    accept 1 prompt 'Enter Unix process id: '
    DECLARE
      v_sid number;
      s sys.v_$session%ROWTYPE;
      p sys.v_$process%ROWTYPE;
    BEGIN
      begin
        select sid into v_sid
        from   sys.v_$process p, sys.v_$session s
        where  p.addr     = s.paddr
          and  (p.spid    = &&1
           or   s.process = '&&1');
      exception
        when no_data_found then
          dbms_output.put_line('Unable to find process id &&1!!!');
          return;
        when others then
          dbms_output.put_line(sqlerrm);
          return;
      end;
      select * into s from sys.v_$session where sid  = v_sid;
      select * into p from sys.v_$process where addr = s.paddr;
      dbms_output.put_line('=====================================================================');
      dbms_output.put_line('SID/Serial  : '|| s.sid||','||s.serial#);
      dbms_output.put_line('Foreground  : '|| 'PID: '||s.process||' - '||s.program);
      dbms_output.put_line('Shadow      : '|| 'PID: '||p.spid||' - '||p.program);
      dbms_output.put_line('Terminal    : '|| s.terminal || '/ ' || p.terminal);
      dbms_output.put_line('OS User     : '|| s.osuser||' on '||s.machine);
      dbms_output.put_line('Ora User    : '|| s.username);
      dbms_output.put_line('User Module : '|| s.module);
      dbms_output.put_line('Status Flags: '|| s.status||' '||s.server||' '||s.type);
      dbms_output.put_line('Tran Active : '|| nvl(s.taddr, 'NONE'));
      dbms_output.put_line('Login Time  : '|| to_char(s.logon_time, 'Dy HH24:MI:SS'));
      dbms_output.put_line('Last Call   : '|| to_char(sysdate-(s.last_call_et/60/60/24), 'Dy HH24:MI:SS') || ' - ' || to_char(s.last_call_et/60, '990.0') || ' min');
      dbms_output.put_line('Lock/ Latch : '|| nvl(s.lockwait, 'NONE')||'/ '||nvl(p.latchwait, 'NONE'));
      dbms_output.put_line('Latch Spin  : '|| nvl(p.latchspin, 'NONE'));
      dbms_output.put_line('Current SQL statement:');
      for c1 in ( select * from sys.v_$sqltext
                  where HASH_VALUE = s.sql_hash_value order by piece) loop
        dbms_output.put_line(chr(9)||c1.sql_text);
      end loop;
      dbms_output.put_line('Previous SQL statement:');
      for c1 in ( select * from sys.v_$sqltext
                  where HASH_VALUE = s.prev_hash_value order by piece) loop
        dbms_output.put_line(chr(9)||c1.sql_text);
      end loop;
      dbms_output.put_line('Session Waits:');
      for c1 in ( select * from sys.v_$session_wait where sid = s.sid) loop
        dbms_output.put_line(chr(9)||c1.state||': '||c1.event);
      end loop;
    --  dbms_output.put_line('Connect Info:');
    --  for c1 in ( select * from sys.v_$session_connect_info where sid = s.sid) loop
    --    dbms_output.put_line(chr(9)||': '||c1.network_service_banner);
    --  end loop;
      dbms_output.put_line('Locks:');
      for c1 in ( select /*+ ordered */
              decode(l.type,
              -- Long locks
                          'TM', 'DML/DATA ENQ',   'TX', 'TRANSAC ENQ',
                          'UL', 'PLS USR LOCK',
              -- Short locks
                          'BL', 'BUF HASH TBL',  'CF', 'CONTROL FILE',
                          'CI', 'CROSS INST F',  'DF', 'DATA FILE   ',
                          'CU', 'CURSOR BIND ',
                          'DL', 'DIRECT LOAD ',  'DM', 'MOUNT/STRTUP',
                          'DR', 'RECO LOCK   ',  'DX', 'DISTRIB TRAN',
                          'FS', 'FILE SET    ',  'IN', 'INSTANCE NUM',
                          'FI', 'SGA OPN FILE',
                          'IR', 'INSTCE RECVR',  'IS', 'GET STATE   ',
                          'IV', 'LIBCACHE INV',  'KK', 'LOG SW KICK ',
                          'LS', 'LOG SWITCH  ',
                          'MM', 'MOUNT DEF   ',  'MR', 'MEDIA RECVRY',
                          'PF', 'PWFILE ENQ  ',  'PR', 'PROCESS STRT',
                          'RT', 'REDO THREAD ',  'SC', 'SCN ENQ     ',
                          'RW', 'ROW WAIT    ',
                          'SM', 'SMON LOCK   ',  'SN', 'SEQNO INSTCE',
                          'SQ', 'SEQNO ENQ   ',  'ST', 'SPACE TRANSC',
                          'SV', 'SEQNO VALUE ',  'TA', 'GENERIC ENQ ',
                          'TD', 'DLL ENQ     ',  'TE', 'EXTEND SEG  ',
                          'TS', 'TEMP SEGMENT',  'TT', 'TEMP TABLE  ',
                          'UN', 'USER NAME   ',  'WL', 'WRITE REDO  ',
                          'TYPE='||l.type) type,
           decode(l.lmode, 0, 'NONE', 1, 'NULL', 2, 'RS', 3, 'RX',
                           4, 'S',    5, 'RSX',  6, 'X',
                           to_char(l.lmode) ) lmode,
           decode(l.request, 0, 'NONE', 1, 'NULL', 2, 'RS', 3, 'RX',
                             4, 'S', 5, 'RSX', 6, 'X',
                             to_char(l.request) ) lrequest,
           decode(l.type, 'MR', o.name,
                          'TD', o.name,
                          'TM', o.name,
                          'RW', 'FILE#='||substr(l.id1,1,3)||
                                ' BLOCK#='||substr(l.id1,4,5)||' ROW='||l.id2,
                          'TX', 'RS+SLOT#'||l.id1||' WRP#'||l.id2,
                          'WL', 'REDO LOG FILE#='||l.id1,
                          'RT', 'THREAD='||l.id1,
                          'TS', decode(l.id2, 0, 'ENQUEUE', 'NEW BLOCK ALLOCATION'),
                          'ID1='||l.id1||' ID2='||l.id2) objname
           from  sys.v_$lock l, sys.obj$ o
           where sid   = s.sid
             and l.id1 = o.obj#(+) ) loop
        dbms_output.put_line(chr(9)||c1.type||' H: '||c1.lmode||' R: '||c1.lrequest||' - '||c1.objname);
      end loop;
      dbms_output.put_line('=====================================================================');
    END;
    undef 1
    set feedback on;
    set veri on;

Maybe you are looking for

  • Difference Between Book on sap press and Advice on which book I should take ?

    Hello, Could someone explain me the difference between those two Sap Press. SAP CRM Web Client Customizing and Development http://www.sap-press.com/products/SAP-CRM-Web-Client-Customizing-and-Development.html SAP Web Client: A Comprehensive Guide for

  • Sales agent commision in the SO

    Hi, In our system we want to configure sales agent commision in the sales order,  requirement is in the saels order we want to enter the customer code for which we want to pay the commiision the commision amount we want to put manually   and whenever

  • XML SQL utility ( Very Urgent)

    Hi, Running the Client side Front-End works for me....Thank you very much. These are all my questions. 1. As far as my understanding goes XML Parsers are used to parse the incoming XML documents before updating the database. But when I used the Oraxl

  • Problem_multiple_links_flashCS3_AS3_no_clickTRAckING

    Hello!!!! my name is Georgina from Greece, I'm a graphic designer and i have a problem with a banner that i cannot solve and find anywhere in the internet!!! I created a banner (actionscript 3-Flash CS3) with 3 different links and as far everything g

  • Transfer of quantities to SOP TC Ke1e

    Hi Guys In have planned quantities using KEPM and posted them I then ran TC KE1E to transfer to SOP.I got the result that transfer was done successfully. I used TC MC88 to check the transfer but found that the transaction KE1E did not update SOP. Ple