Multiple sessions for the same user

Hi,
The scenario is like this. The user is logged into the system using JAAS and
has a session object created. I want to create a new session for the same user
with the already available credentials. This is to provide the same user the access
to the application in another window with different session object. How can do
that in Weblogic 8.1 server ?
thanks in advance,
Krishna.

Hi
I think it would be easier to enable session time out settings using GPO considering you work in a domain environment..
Having session timeouts settings you could say... hey after 15 min of inactivity disconnect the user and then after 15 min of disconnected session log him off
Take a look at this URL: http://technet.microsoft.com/en-us/library/cc754272.aspx
Hope this helps
Best regards
Joaquin Camarero Muñoz

Similar Messages

  • How to avoid multiple session for the same username

    I need suggestions on implementing single user login , like My system has a user with a username jdavid and my application should not allow two different sessions for the same username jdavid , can one session peep into all other session
    to see if the any has a usernaem jdavid, I am basically looking for some pattern if any available for restricting multiple session for the same username . like jaas or any other security api provides this ?

    Store a Map<User, HttpSession> in application scope and let your application intercept on that. On login, just check if the User is already there, then get the associated HttpSession, invalidate it and replace it by the current HttpSession, else just store the current User-HttpSession pair in the map. On logout obviously remove the User-HttpSession pair from the map.

  • Imp: new session for the same user if  idle for 4 mins. or else throw error

    Dear All,
    I have a requirement where for security reasons if a session remains idle for 4 mins. or more, it should redirect to login page. This is easy as there is a feature in apex itself under security in application properties. This works fine.
    But I also don't want the users to start two active parallel sessions for the same user, and allow user to login only if the session for the user is idle for 4mins. or more or else display error message that the user has already logged.
    A second in sequence, on submit process for this in page 101 when login button is hit is written for this. It is as follows:
    declare
    found boolean := false;
    begin
    for x in (SELECT a.apex_user from apex_workspace_activity_log a,apex_workspace_sessions b, (SELECT max(view_date) as maxdate FROM apex_workspace_activity_log where upper(apex_user)=upper(:P101_USERNAME) and APPLICATION_ID=120) maxresults, (SELECT max(session_created) as maxcreate FROM apex_workspace_sessions where upper(user_name)=upper(:P101_USERNAME)) maxsession where b.session_created=maxsession.maxcreate AND b.APEX_SESSION_ID!=:SESSION and upper(b.user_name)=upper(:P101_USERNAME) and b.APEX_SESSION_ID=a.APEX_SESSION_ID and a.seconds_ago<240 AND a.APPLICATION_ID=120 and a.view_date=maxresults.maxdate and rownum=1) loop
    found:=true;
    raise_application_error(-20000, 'Already Logged.');
    exit;
    end loop;
    IF not found THEN
    null;
    END IF;
    end;
    But for some this reason this does not work as intended. Two users can login parallely.
    When I trace the program, I see that it should catch the parallel user login. But it does not.
    Is it some db cache issue? I don't know.
    Kindly let me know how to fix this. It is crucial for us to achieve this.
    Thanking in advance.
    Regards,
    Deepika.

    Dear Fateh,
    Thanks for the reply.
    The features of this plugin are:
    Configurable timeout actions including alert, redirect, and logout
    Optional and configurable warning message
    Option to keep session alive if user isn’t truly idle. Special thanks to Martin D’Souza for a great idea on how to implement this feature.
    But it cannot stop a new session for a user, if there is an active (in my definition apex_workspace_activity_log.seconds_ago<240) session already running for that user.
    Regards,
    Deepika.

  • Is there a way to disable concurrent Weblogic Admin Console sessions for the same user?

    A coworker on another workstation and I are able to log into same user account on the Weblogic Admin Console at the same time. I would like to restrict access so only one session per user account can be logged in to the Admin Console. Is this possible?
    Alternatively, is there a way to log identifiable information (IP/workstation) when multiple sessions for one account occur at the same time?
    I am using 10.3.6.0

    Hi,
    You could also check the http access logs for such info. There you could see records for the received requests, with each record starting with the source IP that initiated the request.
    The default location for access logs is ${DOMAIN_HOME}/servers/${SERVER_NAME}/logs. Of course in your case, the ${SERVER_NAME} would be your admin server name (AdminServer if left as default).
    Regards,
    Mohab

  • Multiple layouts for the same user in the same portal

    Hello.
    I have a challenge.
    Currently there is a portal (6.40) running as a frontend for an application. So the portal is used for only this purpose. The content is a changed masthead and a number of WebDynpros and UWL's all accessing the same backend.
    Now there is a wish to use the same portal to execute a transaction iView for the same backend. Simple. BUT when a user uses the portal for the product he/she shall not see the transaction iView and also when the user sees the transaction iView, the WDs and UWL's should not be shown in the navigation. And also the masthead should be different on the two views.
    Putting in another portal is not anoption, this should be done on the same portal. The way I expect it to work is by accessing the same portal og two different URL's.
    Companies cannot be used since some of the users should be able to access poth views.
    I know that in a prefect world it would simply be a matter of creating two different roles and assign them as needed and if the user has both roles hen they would both be available in the navigation. But to the user the portal should look like different portals.
    Any suggestions on how to achieve this functionality?
    Br,
    Thomas Mouritsen

    Hi Thomas,
    you have several options with the portal standard:
    1.) If the user only has one role assigned at a time you can attach the portal layout to the roles. So depending on the role the user has he sees the respective layout - BUT: how to asign the two roles to the user!? This can only be done by admins and I assume that it is no intended to call the admins every time the user needs the other role?
    2.) The entry to the portal is realized with different urls like http://yourportal.com/VIEW1 and http://yourportal.com/VIEW2.
    VIEW1 and VIEW2 are so called portal aliases and you can attach the different layouts to those aliases.
    BUT: the two roles have nothing to do with the aliases so you still have the problem of role assignment.
    3.) Each person gets two users with each user assigned to one role and one layout assigned to the user or group or role...
    Anyhow: I would ask the people who brought up the idea of two different layouts - WHY?? A portal is ONE single point of entry for EVERY application and information a user needs. So why two different layouts? And what, if five others are coming each bringing their own layouts, too?
    4.) If you really want to have different layouts each time a different top-level navigation point is active you have to program your own portal component. That would fit your needs but is besides standard.
    Hth,
    Michael

  • Multiple connections for the same user.

    I have EJB A and EJB B. A and B use a JCA connector that
              I have written. I have matchManagedConnections set so that if user U has not used EJB A or EJB B, then a new ManagedConnection is created. If user U has used A or B then that user is given a new virtual connection created from an existing ManagedConnection. Now the problem is that if user U access' A for the first time and then access' B BEFORE A has closed the connection, then a new ManagedConnection is created for user U. Therefore in this case user U gets 2 ManagedConnections to the EIS that we are using. Eventually one of the ManagedConnections is distroyed but I would like to eliminate this in the first place. How do a get Weblogic to see that a user has a ManagedConnection before that user is done with the connection.

    You can't have multiple roles on multiple connection, as you are connecting to the same website (different sub directories) ultimately.
    Here is the workaround:-
    You can create a new user account on your machine and can manage different roles.
    Hope it helps.

  • Multiple mailboxes for the same user

    I have configured mail to work with virtual domains so I can create a different mailbox for each email address but how do only allow the mail to that specific address to come through. As I don't want the local and virtual in the same mailbox.

    User A can have one mailbox associated with his ID.  You can create other "User A" mailboxes with different names and e-mail addresses as shared mailboxes and grant User A full mailbox rights and send as right.  User A can
    then connect to each one of them separately.
    Ed Crowley MVP "There are seldom good technological solutions to behavioral problems."

  • How to avoid one active session for the same user account concurrently

    Hi all ,
    i am using model 1 architecture in my application.
    in my application ,if one user login through 2 browser at a time ,he can do it.
    But now ,i want to close first browser or redirect him to a exception page.
    plz guide me how can i do it.
    plz include case1.
    what happen if he close page ,not logoff
    case2
    what happen if power cut happen on client side.

    +You can use a column in the table to check the current user logged in status. Once the user gets logged in the application change the flag at the backend. In this way you can know whether the user is already logged in the apllication or not, and based on this you can show a proper message to the user.+
    +If the user closes the browser window without logging off the application, then in this case you can use the session Listoners.+
    Well not the right approach Listeners would it for you.For browser closure problem.If user does that automatically container destroys the session object as per configured session-timeout.
    *@OP*
    Problem 1:
    Try to a write an implementation of sessionListener / sessionAttributeListener (for having a check on user loggins and apply a global filter which checks available users who have already logged in)
    Hope the below thread might give you some idea of how to go about.
    http://forum.java.sun.com/thread.jspa?threadID=5226527&messageID=9922478
    Problem 2:
    consequently configure session-timeout parameter in minutes under web.xml for session browser close and inactivity state problems.
    REGARDS,
    RaHuL

  • Logoff remote sessions to multiple servers for the same user

    Hi,
    I'm after some advice, I have a junior DBA working with me who has a tendancy to leave remote connections on various production servers, we have a large estate about 300 servers and trying to identify the servers is a difficult task.
    I was hoping to use SQL Server Management Studio / Registered servers and issue one simple command against all servers to logoff the account which has been left connected. I normally log into each server start Task Manager/Users and log off the account,
    this then stops the account locking but only when I have identified all servers he is still connected to. I have tried the comand prompt Logoff and session ID, this works great but the session ID on each server can be different.
    Any help or advice would be great! Thanks in advance.

    Hi
    I think it would be easier to enable session time out settings using GPO considering you work in a domain environment..
    Having session timeouts settings you could say... hey after 15 min of inactivity disconnect the user and then after 15 min of disconnected session log him off
    Take a look at this URL: http://technet.microsoft.com/en-us/library/cc754272.aspx
    Hope this helps
    Best regards
    Joaquin Camarero Muñoz

  • C;\Windows default share session increased for the same user

    in win 2k8 server I seem some strange things, that for the same user, shared folder sessions are increasing. Support is appreciated
    Regards Prabhu

    It might be connecting from multiple devices.
    This posting is provided AS IS with no warranties or guarantees , and confers no rights.
    Ahmed MALEK
    My Website Link
    My Linkedin Profile
    My MVP Profile

  • How open multiple responsibilities in the same user login session in R12 ?

    Dear All,
    Can anyone help me to know how to open multiple responsibility in the same user login session in R12 ?
    Thanks..
    Edited by: G-oracle on Sep 18, 2011 11:22 AM

    Can anyone help me to know how to open multiple responsibility in the same user login session in R12 ?What do you mean by open multiple responsibilities in the same session? You can only see the menu of one responsibility at a time, so how to do you expect the application to let you see multiple responsibilities/menus in one session?
    You could open another session and this way you can access more than one responsibility at the same time.
    Thanks,
    Hussein

  • Under Options , Applications There are multiple entries for the same item (Acrobat Document). how can I delete the duplicates?

    Under Options, Applications there are multiple entries for the same item. (Adobe Acrobat) . Three show Adobe Acrobat Reader 9.3 and the other shows (ask) or (save file) with no ability to select Acrobat Reader . Is there a way to edit this list to remove the duplicates and
    the incorrect entry? Adobe installed a very quick update today.

    They are all different. Hover your mouse pointer over each of the "Content Type" descriptions and you should see a "tooltip" to see that each has a different description.
    You need to update your plugins. It is important to keep them updated due to continuing security fixes and improvements in those plug-ins:
    * Adobe Shockwave for Director Netscape plug-in, version 11.5 (you '''<u>may</u>''' need to update)
    * Shockwave Flash 10.1 r53
    * Next Generation Java Plug-in 1.6.0_20 for Mozilla browsers
    #Check your plugin versions: http://www.mozilla.com/en-US/plugincheck/
    #*'''Note: plugin check page does not have information on all plugin versions'''
    #'''Update Shockwave for Director'''
    #*NOTE: this is not the same as Shockwave Flash; this installs the Shockwave Player.
    #*Use Firefox to download and SAVE the installer to your hard drive from the link in the article below (Desktop is a good place so you can find it).
    #*When the download is complete, exit Firefox (File > Exit)
    #*locate and double-click in the installer you just downloaded, let the install complete.
    #*Restart Firefox and check your plugins again.
    #*'''<u>Download link and more information</u>''': http://support.mozilla.com/en-US/kb/Using+the+Shockwave+plugin+with+Firefox
    #'''Update Shockwave Flash'''
    #*Use Firefox to Download and SAVE to your hard drive from the link in article below
    #*SAVE to your Desktop so you can find it
    #*After download completes, close Firefox
    #*Click on the file you just downloaded and install
    #**Note: Vista and Win7 users may need to right-click the installer downloaded and choose "Run as Administrator"
    #**Note: Most browsers other than IE will also get updated with this one download
    #**Note: To update IE, same procedure '''<u>but use IE</u>''' to go: http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_ax.exe
    #*After installation, restart Firefox and check your version again.
    #*'''<u>Download link and other information</u>''': https://support.mozilla.com/en-US/kb/Managing+the+Flash+plugin#Updating_Flash
    #* Also see: http://support.mozilla.com/en-US/kb/Installing+the+Flash+plugin
    #* Also see (if needed): http://kb2.adobe.com/cps/191/tn_19166.html#main_Uninstall
    #'''Update Java:'''
    #* Download and update instructions: https://support.mozilla.com/en-US/kb/Using+the+Java+plugin+with+Firefox

  • Multiple address for the same customer code

    Hi,
    Suppose we have a customer name XYZ LTD whose sap code is 123.
    Now user want to maintain multiple addresses for the same customer in the same code.So that during billing he can have option to chose one of the address in which he want to sent the invoice.
    Is it posible if yes then let me know.
    Thanks in advance.
    Regards,
    SATYA

    Hi Satya,
    you can define for a vendor/customer several partner functions with different        
    adresses. You can create certain partner roles several times.               
    If you create a purchase order, than you can choose the wanted              
    address and partnerrole on the header level. In the standard system you     
    can use the patner role 'OA' ordering address and for the finance           
    the 'IP' Invoice presented by.
    I hope I was able to help you.
    Kind regards,
    Zsuzsanna

  • Multiple DEVL_PROJECT_ID for the same model in CZ_DEVL_PROJECTS Table.

    Hi,
    Did anyone came across this issue!! I am triggering the config engine from back and and trying to pick up a model but it has multiple devl_project_id's. :(
    I could see multiple DEVL_PROJECT_ID for the same model in CZ_DEVL_PROJECTS Table. Apart from DEVL_PROJECT_ID and created_by_date every thing looks the same.
    Below are the 2 records the data from the table
    select * from CZ.CZ_DEVL_PROJECTS where product_key = '122:17056' and DEVL_PROJECT_ID in (12943,15321)
    DEVL_PROJECT_ID     NAME     ORIG_SYS_REF     CREATION_DATE     LAST_UPDATE_DATE     PERSISTENT_PROJECT_ID     MODEL_TYPE
    12943     ASI XXX MODEL(122 17056)     OPTIONAL:122:17056     12/18/2012 10:01     12/18/2012 10:01     11100     A
    PRODUCT_KEY     ORGANIZATION_ID     INVENTORY_ITEM_ID     BOM_CAPTION_RULE_ID     NONBOM_CAPTION_RULE_ID
    122:17056     122     17056     802     801
    15321     ASI XXX MODEL(122 17056)     OPTIONAL:122:17056     12/26/2012 23:10     12/26/2012 23:10     11100     A     
    122:17056     122     17056     802     801
    Thanks in advance,
    -vijay

    It can be possible to have multiple devl_project_id for the same model in cz_devl_projects Table.
    Case -1 : When you delete the existing model and re-import again.
    case 2:
    When you publish the model locally, it will create the same copy of the record with different devl_project_id, creation_date, last update_date etc..\
    You can see that for published records the last_updat_login, checkout_user will be null and for the original model, last_update_login,checkout_user (if model is locked) will not be null.
    -Murali
    Edited by: 907569 on Jan 8, 2013 10:55 AM

  • Multiple alerts for the same Message ID

    Hi
    I have configured outbound ftp adapter. I have configured alerts inorder to capture any error in the adapter engine.
    Now,alert is triggered showing an error in the ftp adapter ( say incorrect ftp details). But i get multiple alerts for the same message ID several times. I have also set the parameter Max No od Delvs to 1 in the ALRTCATDEF transaction.
    I keep getting the same alert number of times a day. How can i restrict the number of alerts to 1 for 1 message ID.
    Regards,
    Vani

    Hello Andreas,
    Thanks for your reply.
    In my scenario i would need an alert per Message. That is the reason why I have not checked the option "Supress Multiple Alerts" since it would allow only alert per rule.
    Is there is any way we can get one alert per message.
    Also, after correcting the eror in the file adapter will the file which was not placed due to error in the adapter be placed automatically. I wanted to know what would happen to the lost file or unprocessed file since it dint reach the destination due to error.
    Regards,
    Vani

Maybe you are looking for

  • Can 6i Embed Fonts in PDF?

    Is it possible to embed fonts into the PDF outputs created with reports 6i? If so, where is there information on how to do this for 6i? Thanks, Kurz

  • Not recording whole programmes

    Recently, (about two weeks) my you view box has been dicking about with recordings. We have a few season records set up and now and again when I go to watch an episode it has only recorded 4 mins, it's usually 4 but sometimes it's 2. It also happens

  • Inheritance in mapping workbench

    I try to use an existing class design with TopLink: I have for each table classes for value objects (*VO) containing only the attributes from the database tables (including the foreign keys). And I have classes for composite objects (*CO) inherited f

  • How to retrieve iMessages from while it was switched off?

    Hi, so I reset my IPhone 5 and restored from a backup about 2 weeks ago. I was asked by a friend today why I wasn't responding to his text messages and so I checked and iMessages had been switched off ever since I reset my phone. However, people who

  • CRM WEBic - not able to find letter created for a service order

    Hi Friends                    while creating a service order in web ic, trying to attach a letter using letters link from navigation areas of web ic,  able to select a draft(word document) already provided and able to save the changes(document is sav