Session creation at the time of Form Login

I enabled my session params to manage weblogic session management in Properties file. I'm using LDAP Realm as a Users/groups repository for credentials checking. I'm using form authentication(weblogic.servlet.security) API to check my credentials. Here I'm facing few problems. I'm not using ACL's for user login. Only form based authentication I'm using for users login to app.
1. The weblogic is creating the session in the first request itlself... i.e. At the time of invoking form.jsp file itself the session has been creating. But I want after authentication only the session should be created for that user.
2. After the session has expired it's not giving any exception. Simply it's creating new session object for that user. How to capture that session time out to display my custom form to specifies that your session has been timed out and try to relogin.
Could you please come up with your suggestions how to achieve this..
I will certainly waiting for your reply as it's blocking my dev work.
regards,
chandra

Chandra,
The session has little to do with authentication. Rather, it provides a
means to correlate a series of otherwise random HTTP requests by determining
that the requests are all coming from the same inferred user agent (e.g. all
from the same browser instance).
When the user attempts to access any resource, the server (WebLogic) checks
to see if the resource is secured, which is to say that the user must have
specific permissions to access that resource. When such a resource is
requested, and the user has not been authenticated, then the server (in the
case of form based authentication) will send the user a login form. Once
that form is completed successfully (the user is authenticated), the user is
given the originally-requested resource, assuming of course that the user
has such a permission.
It is possible to determine when the session is new (HttpSession.isNew) and
it is possible to determine when it dies (using a session binding listener).
However, it is not possible to drive the client from the server, which
appears to be what you are asking.
It is possible to determine when the user tries to log in. This is
accomplished by replacing J_SECURITY_CHECK with your own servlet call, then
forwarding to J_SECURITY_CHECK.
It is possible to provide the authentication means, which is to say the
actual mechanism by which WebLogic determines if a user exists and if their
password is correct. This is a realm; a good example is the RDBMS realm,
for which source is included in WebLogic 5.1.
Peace,
Cameron Purdy
Tangosol, Inc.
http://www.tangosol.com
+1.617.623.5782
WebLogic Consulting Available
"chandra" <[email protected]> wrote in message
news:[email protected]...
>
I enabled my session params to manage weblogic session management inProperties file. I'm using LDAP Realm as a Users/groups repository for
credentials checking. I'm using form
authentication(weblogic.servlet.security) API to check my credentials. Here
I'm facing few problems. I'm not using ACL's for user login. Only form based
authentication I'm using for users login to app.
>
1. The weblogic is creating the session in the first request itlself...i.e. At the time of invoking form.jsp file itself the session has been
creating. But I want after authentication only the session should be created
for that user.
>
2. After the session has expired it's not giving any exception. Simplyit's creating new session object for that user. How to capture that session
time out to display my custom form to specifies that your session has been
timed out and try to relogin.
>
Could you please come up with your suggestions how to achieve this..
I will certainly waiting for your reply as it's blocking my dev work.
regards,
chandra

Similar Messages

  • User Exit for ME21 PO Creation at the time of saving--Urgent

    Hi,
    Can some one help me out in finding the user exit for PO creation at the time of saving.
    The Requirement is:
    I need to create a custom field in EKKO table.
    After appending the structure with the field to the EKKO table, i need to create a PO.
    Now i need to update the field which has been created at the time of pressing the SAVE button.
    I need to update the EKKO table it self.
    I could find the user exits but none of them have the EKKO table either in Changing or in Tables.
    Thanks,

    Hi,
              You may want to check this user exits.
    EXIT_SAPMM06E_012 - Check Customer-Specific Data Before Saving
    EXIT_SAPMM06E_013 - Update Customer-Specific Data in Purchasing Document
    Here is the list of available user exits for ME21.
    EXIT_SAPMM06E_001 - Other Number Range or Own Document Number
    EXIT_SAPMM06E_004 - User Exit for Cust.-Specific Control of Import Data Screens in Purchasing
    EXIT_SAPMM06E_005 - Field Selection Control: Vendor Address Screen
    EXIT_SAPMM06E_006 - Export Data to Customer Subscreen for Purchasing Document Header (PBO)
    EXIT_SAPMM06E_007 - Export Data to Customer Subscreen for Purchasing Document Header (PAI)
    EXIT_SAPMM06E_008 - Import Data from Customer Subscreen for Purchasing Document Header
    EXIT_SAPMM06E_009 - Reset Customer Data at Beginning of New Document (Without Dialog)
    EXIT_SAPMM06E_012 - Check Customer-Specific Data Before Saving
    EXIT_SAPMM06E_013 - Update Customer-Specific Data in Purchasing Document
    EXIT_SAPMM06E_014 - Read Customer-Specific Data when Importing Purchasing Document
    EXIT_SAPMM06E_016 - Export Data to Customer Subscreen for Purchasing Document Item (PBO)
    EXIT_SAPMM06E_017 - Export Data to Customer Subscreen for Purchasing Document Item (PAI)
    EXIT_SAPMM06E_018 - Import Data from Customer Subscreen for Purchasing Document Item
    EXIT_SAPMM06E_020 - User Exit: Change Document for Requisitions (Conversion into PO)
    EXIT_SAPMM06E_021 - Fulfillment of Target Value: Release Orders Against a Contract
    <b>Reward points</b>
    Regards

  • Serial number creation at the time of GI

    Dear Experts,
                   I want to create sreial number and equipment number simultaneously at the time of GI
    please hel m out with customization settings.
    Thanks
    Warm regards
    Rahul

    Using existing serial number is not giving me perfect solution.....
    there is no validation of matching serial number which has been created before for that material
    e.g.
    if i am having one line item with quatity:10
    At GR 10 serial numbers will be generated.
    at GI he can assign any serial number to any material which is not desirable in my case.
    Please let me know can we stop serial number creation at the time of GR?????
    I want it should create only at the time of GI
    Thanks
    Rahul

  • IW32 - Print Attachment Document at the time of form printing

    Hi,
    Anyone help me how to print attachement document in Maintenance Order Document ( IW32 ), by the time of Form printing ?
    Regards,
    Hary

    Hi,
    we are looking for a similar solution. We want to include TIFF,PDF at the end of SAP-Script or SmartForms.
    For example: We want to send a purchase-order Formular (out of ME21N) with attached TIFF's or PDF's, so that the vendor received a purchase-order with a design of the material.
    Did you find a solution ??
    Thank for answer.
    Thorsten

  • User Creation at the time of Self Registration not via Admin (xelsysadm)

    Hello there,
    I had a question related to User Creation in OIM via Self Registration (Create Request) and via "xelsysadm" itself creating one user via the web console.
    Can I do this -
    When a user does self registration then how can I directly create a user in OIM?
    Right now: the user's request needs to be approved by xelsysadm first and then only that user can login into OIM and then only that user can be seen in OIM - I want to remove the "xelsysadm" gateway of approving the request.
    I want that user directly to be present in the OIM as soon as he/she fills out it's information in the self registration pages. How can we do this?
    Also, I want an email to be sent to the user to its email ID that he/she provided at the time of self regn containing its User ID and password in it from the xelsysadm email id. How can I do that?
    TIA for the help,
    - oidm.

    Hi oidm
    User Registration is R.O. which used for User Self Registration.
    But if you see it carefully, there's no Approve Task (not workflow) in it.
    It has three task
    1) SV
    2) PI
    3) AAD
    And if you see the request while approval it shows Awaiting Approval Data means it stuck in AAD.
    Try to modify this, I can't as I don have any extra machine with. Try to modify this. It may not allow you to update it, you'll have to change its security level in Database level.
    *Awaiting Approval Data  System Administrator [XELSYSADM] Pending*
    I hope it helps you to start R n D.

  • With version 5 of Firefox, if I open more than 1 session, most of the time I cannot see anything in the navigation bar and my back and forward buttons do not work.

    I open 1 session of Firefox 5.0.1 and everything seems to work fine. Then I open a second session of Firefox and most of the time the navigation bar does not show the page that I am on and the back and forward buttons do not work. When this happens, the first session always remains working. I am an internet marketer so I have at least 2 or 3 sessions going at any given time.

    A possible cause is a problem with the file places.sqlite that stores the bookmarks and the history.
    *http://kb.mozillazine.org/Bookmarks_history_and_toolbar_buttons_not_working_-_Firefox
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode
    *https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • No New Batch number creation at the time of Material Transfer Movement(309)

    We are upgarding from 4.6C to ECC6.0. We have an issue in regards with the material movement type 309. At the time of creating the material tranfer using the same material as issuer and receiver, the same plant and storage location ( this process is used by the business to diferentiate batches).
    In 4.6C a new batch number is created automatically when 309 movement is posted; stock and characteristics transfered are allocated at the new batch created automatically.
    The same case in ECC6.0 does not create a new batch as done in 4.6C. We have looked for any SAP note or forum discussion without success.
    If anybody has an answer for this issue, let us know.

    As a matter of fact these configuration has been checked before, additionally we compare configuration at 4.6C and ECC6.0 and it is the same but the new batch creation (for this specific case) is working at 4.6C, not at ECC6.0.

  • Automatic Equipment creation at the time of Goods movement

    Hi experts,
    Can any one tell me where exactly the equipment creation happens at the time of GR creation, i mean program or function module.
    thanks,
    Veeru

    Hello experts ,
    Any response ??
    Regards
    Anis

  • Batch creation at the time of order creation & confirmation on the batch.

    Hi all,
    My client's requirement is while creation of the production order of say 100 pcs, system should create 4 batches, each of 25 (this might be different every time) of that order & also the confirmation (CO11) should be done on those batches.
    Also if the order contains 10 operations then confirmation of operation no. 0020 should not be possible before confirmation of 10, whether it is for partial & whole quantity.
    You can say these batches will reprsent the lots.
    Regards
    SmanS
    Edited by: SAP PP Consultant on Mar 9, 2009 8:05 AM

    Hi SAP PP
    You can use this function to automatically create a batch for the material to be produced.
    You can make the following settings in Customizing (production scheduling profile):
    No automatic creation of batches in production orders
    Automatic creation of batches during order creation
    Automatic creation of batches during order release
    To carry out automatic batch splitting via batch determination, proceed as follows:
    Select the component that you wish to split and choose Component ® Batch management ® Trigger batch det.
    The system lists all batches that meet the selection criteria and that have available stock on the requirements date.
    Distribute the required quantity as required over the existing batches.
    Choose .
    The system copies each batch as a separate component into the component overview screen.
    For more information refer to Batch Determination.
    To carry out manual batch splitting with manual batch assignment, proceed as follows:
    Select the component for which you want to carry out batch splitting. Choose Edit ® Insert ® Batch split.
    Enter the batch number and the required quantity manually in the component.
    Save your entry.
    Regards
    Sachin

  • I want to get all the user name form LOGIN table ... how help me ?

    hi all
    I have table in MS Access databse called Login with two coulmn (User, Password),
    I want to get all the User Name in a string[] called USER,
    (LIKE USER = {"AA","BB","CC",........"zz"};)
    can anybody send me the code to get the USERNAMES form Login Table, i tried lots of way but bad luck
    so plz someone send me a code.
    Thanx
    Regards
    Satinder

    I made something like this as He pasted the the code above and u know this works for me atleast thanx
    kind regards
    satinderjit
    String User[] = new String[1000];
    try
    //Load Driver
    Class.forName(driver);
    // Make Connection
    connection=DriverManager.getConnection(url,user,password);
    // Create Statement
    statement = connection.createStatement();
    sql = "SELECT User FROM Login" ;
    // Create Resultset
    rs = statement.executeQuery(sql);
    int j=0;
    while(rs.next())
    User[j]= rs.getString("User");
    j=j+1;
    for(int i=0 ;i<J;i++)
    Form.C_Manager.addItem(User);
    statement.close();
    //rs.close();
    connection.close();
    catch(ClassNotFoundException cnfex) {
    //show message
    JOptionPane.showMessageDialog((Component) null,
    "Failed to load driver..."+
    "\n"+cnfex.getMessage(),
    "Error...",
    JOptionPane.ERROR_MESSAGE);
    catch(SQLException sqlex){
    //show message
    JOptionPane.showMessageDialog((Component) null,
    "Unable to connect to Database..."+
    "\n"+sqlex.getMessage(),
    "Error...",
    JOptionPane.ERROR_MESSAGE);
    catch(ArrayIndexOutOfBoundsException e){
    //show message
    JOptionPane.showMessageDialog((Component) null,
    "Unable to Load User Name..."+
    "\n"+e.getMessage(),
    "Error...",
    JOptionPane.ERROR_MESSAGE);

  • How to display the time in form field that has to refresh 4 every sec & min

    Hi Frndz....
    I am Apps Technical Consultant....
    .. my requirement is i want to display the DATE TIME ( 16-OCT-2007 16:23:45)
    in this format in form field.
    am done this but am unable to do that the time has to change for every second and minute.....means when the form is running (runtime) the time has to refresh like the our digital watch...
    ......Kindly help me about this problem....
    ..................eagerly waiting 4 ur reply..........
    if u get solution or any suggestions u can mail to : [email protected]
    Bye Frndz..........

    Hi,
    Thank u for ur replay,
    If we use timer, we have to refresh for every second
    so it may be complex....
    using java beans timer is better think so..
    and i have one more dought that how get the DB date
    time in form field...
    i know to get DB date time .... $$DBDATETIME$$
    but i want to use select statement through this i get
    the DB date time can you
    help me on this...
    Ganga...New account for your second post?? why don't you use the same account??
    To get the Database date in a select statement use the SYSDATE pseudo in a select statement.
    SCOTT@ORCL> SELECT SYSDATE FROM DUAL;
    SYSDATE
    17-OCT-07
    SCOTT@EBOS> SELECT TO_CHAR(SYSDATE, 'DD-MON-YYYY HH:MI:SS AM') FROM DUAL;
    TO_CHAR(SYSDATE,'DD-MON
    17-OCT-2007 10:14:13 AM
    SCOTT@ORCL>Tony

  • Automatic equipment creation at the time of GR of material

    Dear Experts ,
    We have a non valuated material defined for a machine( in  MM ) . It is managed in serial number .
    Also the same machine is an equipment ( in PM ) & its maintenance is carried out accordingly .
    We have defined a serial number profile , with equipment requirement as " always with equipment ".
    Now we have assigned this serial number profile to the material master of the " Non Valuated Material " .
    We observe that the system at the time of GR of the material accepts serial number & also in background creates equipments with construction type having the GR material & serial number as the one used in the GR .
    But also the system always creates an equipment of the same equipment category & hence the same number range .
    Our requirement is that different material masters wen received  , shud create equipments automatically , but with different "predefined " equipment category & hence different number ranges.
    HOW CAN THIS BE DONE ? WHAT ARE THE NECESSARY CONFIG STEPS THAT NEED TO BE CARRIED OUT FOR THE SAME ?
    Regards

    Dear,
    For ur requierment u need to create different Sr. no. profiles with default eq. category in the Sr. No. profile and assign to material master.
    T code- OIS2 for Sr.no. profile.
    regards
    sunil
    Edited by: sunil gupta on Oct 26, 2009 12:48 PM

  • Automatic equipment creation at the time of GR of material - Subcontracting

    Dear Experts ,
    I have created a non valuated material .
    I have created a serial number profile in which the setting is that the equipment is created automatically at the time of GR.
    I have attached the above serial number profile to the above material. Due to this whenever the material is purchased & GR for the same is done , an equipment is created automatically with with construction type having the GR material & serial number of the material assigned to the equipment . The sattus of the equipment is ESTO( In ware house )
    The material is then issued to using T Code MB1B & the stock is reduced to zero .Due to this the equipment status is changed to AVBL( available ).
    The functional location is then assigned to the equipment & all its maintenance activities are carried out .
    Now the same equipment needs to be sent to a subcontractor for repair . For this i need the make a subcontracting PO with recursive BOM  & hence i need the stock of the material . So i diamantle the equipment & generate its stock which is sent outside to the subcontractor through the subcontracting PO .
    Now when i do the GR , THE SYSTEM AGAIN CREATES A NEW EQUIPMENT FOR THE MATERIAL .  I want this to be avoided as i want the old already existing equipment to be used .
    How can this be done
    Pls Guide
    Regards
    Anis

    Anis,
    This scenario sounds like 'Refurbishment through external resources for materials with serial numbers". This is a tricky process and standard SAP doesn't help.
    Think you need to discuss with your MM guy to create a special movement type for receiving materials with the same serial number.
    Regards,
    Seran

  • Automatic Batch Creation at  the time of GR

    Hi all,
    I have configured automatic batch craetion in GR and same is working in Test client. And transfer the same to Quality but same is not working in quality.
    I have checked all IMG object for batch are in sync. and I am clue less now what to do?
    Thanks
    Sanjay

    Hi Gurus,
                      I have same issue system is supposed to assisgn batch
                     automatically at the time of G R but we are entering batch manually
                      Checked all suggestions from ramki
                       Is there anything else could cause this problem
                       Is this issue resolved
                       Please provide solution
                       Will reward full points
                                                                 Rgds
                                                                             justin

  • Grn creation at the time of service entry sheet

    Hi,
        when created sevice entry sheet,Grn document also created automatically in sevice process for this any settings avilable?
    regards
    murali

    Hello,
    Material document created at the time of accepting service entry sheet is standard SAP setting.
    When you order a services thru service entry sheet, say for example you create a service order for calibration of measuring euipments. So after service completed that comes in your company you fill service entry sheet in ML81N, there you entrs services and accepting the same. and After accepting systems generates material document.
    Regards
    Kedar Kulkarni
    Edited by: Kedar Kulkarni on Jan 18, 2008 1:38 PM

Maybe you are looking for

  • VPN 720 error with win 8 with Cisco VPN client 5.0.07.0440

    Hello, I have Win 2008 configured as RRAS- VPN server, with win 7/8 VPN clients. half of these client machines are also running "Cisco VPN client 5.0.07.0440" all win 7 machines works fine however most of Win 8 will not connect to windows VPN, if the

  • Video formats for SD90 Videorecorder

    I recently purchased a Panasonic SD90 recorder that supports iFrame, and AVCHD formst , HG, HX, HE. It also support full 1080/60p. What is the optimumoption for iMovie? It appears that iMovie/Mac it will NOT support the full 1080/60p option (only PCs

  • Giving computer to new user- how should I change the email settings?

    I bought a new MacBook Pro and want to give my husband my old one. How do I reset Mail so that it defaults to my husband's account, which is a .mac family member account attached to mine; the primary .mac account? We're also giving his MacBook to a c

  • How to make a button like popup button of inputDate or inputListOfValues?

    Hi all. I hope it's a very simple question, but: how to implement in ADF faces small icon-like button such as "show popup" button of input date or input list of values control? Say, I need to add a "clear value" buttons after them.

  • Airport/U-Verse Configuration

    Okay, I've spent way more hours than I'd like to admit trying to properly set up my network.  Here's what I'm trying to do.  I've got a 3801HGV Residential Gateway, an Airport Extreme (MC340LL/A), and an Apple TV.  I just got a new Macbook Air and I'