How does j_security_check know which page to redirect to?

Hi All,
I have implemented j_security_check in our weblogic web app successfully.
What I would like to know is following the authentication and authorization via the container, how does it know to redirect the user to index.jsp?
For example, we have login.jsp which contains the j_username and j_password fields, and the action is j_security_check. After the user hits submit and the container authenticates them, how does it know to then direct them to index.jsp? Is it because the welcome tag in web.xml is set up to direct them to index.jsp?
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
Thats the only thing i can think of!
Thanks in advance.

That's correct.
You are specifying a login page, which will ONLY be accessed when the user attempts to view a secured resource.
After logging in, they will see the page they were originally trying to get to.
They will only be forced to go to the login page if you secure the page they are trying to get to:
<security-constraint>
     <web-resource-collection>
          <web-resource-name>Resources</web-resource-name>
          <description>Require users to authenticate</description>
          <url-pattern>/upload/filelist.jsf</url-pattern>
</web-resource-collection>
<auth-constraint>
<description>Define who can access this url-pattern</description>
<role-name>NTSB Users</role-name>
</auth-constraint>
</security-constraint>
<login-config>
<auth-method>FORM</auth-method>
<realm-name>dot-ad</realm-name>
<form-login-config>
<form-login-page>/login.jsp</form-login-page>
<form-error-page>/loginError.jsp</form-error-page>
</form-login-config>
</login-config>
<security-role>
<description>This role can access the edit</description>
<role-name>NTSB Users</role-name>
</security-role>

Similar Messages

  • How does oracle know which AO Framework page or process to execute.

    Hi,
    How does oracle know which AO Framework page or process to execute. I use to think this was defined in the Function definition. But looking through some Function definition in HRMS setup I noticed some of them simply calling the same first page, such as the one below used in many managers menus. This initial page is the page that allows managers to choose the employee they want to work on.
    OA.jsp?akRegionCode=HR_PERSON_TREE_TOP_SS&akRegionApplicationId=800.
    My question is, after executing this initial page, how does Oracle then varies the OA page by the diffferent functions?

    Hi;
    Thanks for sharing
    Please dont forget to change thread status to answered if it possible when u belive your thread has been answered, it pretend to lose time of other forums user while they are searching open question which is not answered,thanks for understanding*
    Regard
    Helios

  • How does Exchange know which DCs to communicate?

    Hi Experts,
    I have 3 DCs in the same site. I'd like to know where to check which DC does Exchange Server connect to.
    Thanks in advance.

    Hi Garen,
    You can follow the steps below to see which DC Exchange connect.
    Open EMC -> Click Server Configuration -> Right click the Exchange Server -> In the properties dialog box, click System Settings.
    You will see the domain controller being used by Exchange.
    Hope my clarification is helpful.
    Best regards,
    Amy
    Amy Wang
    TechNet Community Support

  • How does Toplink know which Pool to use ?

    We have two pools defined in sessions.xml as below
    default has is-read-connection-pool false and one with true. We are not specifying to use read pool or default pool in our app anywhere, which we can while acquireClientSession("pool name"), but we are not. Does TL automatically decide to use which pool to use ?
              <connection-pool>
                   <is-read-connection-pool>false</is-read-connection-pool>
                   <name>default</name>
                   <max-connections>10</max-connections>
                   <min-connections>10</min-connections>
              </connection-pool>
              <connection-pool>
                   <is-read-connection-pool>true</is-read-connection-pool>
                   <name>Read Pool</name>
                   <max-connections>15</max-connections>
                   <min-connections>15</min-connections>
              </connection-pool>

    When using TopLink's internal connection pooling:
    READING: session.acquireClientSession() will acquire a read connection for the client session from the default read connection pool. Having multiple read connection pools and providing the pool name in the acquire is very uncommon.
    WRITING: When a UnitOfWork requires a connection for writing it will acquire a connection from the write connection pool.
    Doug

  • How does pacman know how to remove packages?

    I've been looking at the 'Creating Packages' page, and it says to create a pkgbuild I only need to specify the build function. My question is... how does pacman know which files to remove when you do pacman -R? Does it keep track of all the files that were installed via build()?
    Second question: How do you guys keep track of packages that weren't installed via the AUR? For example, if you want to hack on a project and use that hacked copy instead of the one available in the repos, what do you usually do? I'm guessing that I should let pacman keep track of those by creating pkgbuilds for them, naming them something like [packagename]-[version]-myown, and noting that it conflicts with the package in the Arch repos... is this correct?

    When you build a package with makepkg, the build function is responsible for installing the files that will be contained in the package under ${BUILD_DIR}/pkg. That directory will be tar'ed and compacted to make your final package. When you install it with pacman, will be created the file  /var/lib/pacman/local/<name of your package>/files which will list all the files owned by your package. So pacman can know how to remove them when you ask it to be deleted.
    About your 2nd. question, you are quite right. The only correction is that the name of your new package should be something like "package-myown-version". You should put the old name in the conflicts and provides directive of the PKGBUILD. You should read the wiki about ABS. With it, you can get a copy of all PKGBUILDS for your current repositories, so you can change what pleases you more.

  • How does ISE choose which IP to put in URL redirect response?

    Hello,
    does anyone know how does ISE choose which IP to put in URL redirect response if it has more than one interface with an IP address and all interfaces are enabled in the portal configuration?
    I have a single ISE 1.3 PSN with all four interfaces configured, enabled, each on unique VLAN, and each with unique IP address.
    In the CWA portal configuration, all four interfaces are enabled.
    Wired clients connect to NAD, NAD sends RADIUS request to ISE, ISE responds with a RADIUS response including the URL-Redirect parameter which specifies the web redirect URL. ISE configuration uses "ip:port" in the URL. 
    My question is how does ISE choose which of its four interfaces to put in this URL? Is it always the same interface that RADIUS packets were received on? Or does it always choose the first portal enabled interface? Or is there another logic? Configurable or unconfigurable?
    Thanks!

    ISE uses the first interface enabled for that portal, so if want to use a specific interface, then only enable that interface.  If interface is GE0, then default behavior is to redirect with ip value set to node's FQDN.  If interface other than GE0, then default behavior is to return the IP address of the associated interface. 
    Aliases can be configured for each interface using the CLI 'ip host' command to associate a hostname/FQDN to the IP address of a given interface.  When configured, ISE will return that value rather than IP address in redirect.  This is critical if want to avoid certificate trust warning on connecting clients.
    Be sure that certificate assigned to interface includes the correct FQDN or optionally wilcard value in the CN or SAN fields to avoid cert warnings.

  • Hi. I am building a website with the White template. Does anyone know which typeface was used by Apple on the heading index? (I would like to repeat the index at the bottom of my pages).

    Hi I am building a website using iWeb's white template. I can't write HTML, so can't change the index, but would like to repeat it at the bottom of my pages. Does anyone know which typeface Apple used? Presumably it would be 'web friendly' for use as described above?

    Arial
    PS. You can see it in the source of the published page where it says new NavBar etc...
    ".navbar {\n\tfont-family: Arial, sans-serif;\n\tfont-size: 1em;\n\tcolor: #666;\

  • How do i know which credit card is connected to my apple account?

    Hi i just wanted to know if i was going to make a payment through apple how do i know which credit card the payment will be on, thanks.

    On your computer's iTunes you should be able to view your payment info by going into the Store > View Account menu option and logging into your account, and on your account's details page there should be a payment link (you can only have one credit card on your account at a time). If you are doing it on your iPhone (or on an iPad or iPod Touch) then you could try tapping on your id in Settings > iTunes & App Stores and selecting 'View Apple ID' on the popup.

  • How does Macros help which in Queries ?

    Guys ,
    I wanted to know in detail about the macros.How does they help which are available in Excel sheet of the Bex analyzer.

    A good starting place would be the SAP Help pages on the topic at:
    <a href="http://help.sap.com/saphelp_nw04/helpdata/en/f1/0a55f9e09411d2acb90000e829fbfe/content.htm">http://help.sap.com/saphelp_nw04/helpdata/en/f1/0a55f9e09411d2acb90000e829fbfe/content.htm</a>
    Hope this helps...
    Bob

  • How I can know which row is parent item code or child item in matrix?

    Hi,
    In marketing document, when insert a item into contents page, if it is a BOM then all child item will be inserted into matrix automatically. My question is when i view the rows in matrix how i can know which row is normal master item and which row is a child item row? From the UI, i can only see the child item code looks readonly but how i can know it in my add-on code? I tried to get the edittext box object from item No. cell, but i can't find any difference.
    Thanks!
    Lan

    Sorry, i found an issue when i try to retrieve the BOM Type column value. I am in adding mode, when i insert a BOM with components, the bom type will appears as "Component of a Sales BOM". But in the event, when I try to get the value from this cell (it is combobox), it gives another value which is not same with the one it appears in the matrix. Is anyone know how to solve my problem?
    Thanks!
    Lan

  • How can I know which link was clicked in the link list

    Hi everyone
    I'm using list of links in my page to display list of the files in some directory.
    How can I know which link user was clicked. There are some code:
    <%
    String dir = "..//files//";
    File fin = new File(dir);
    File files[]=fin.listFiles();
    for(int i=0;i<files.length;i++)
    File x = files;
    %>
    <%=x.getName()%><br>
    <%
    %>
    Please help

    You need to pass some data on the querystring to the page you are linking to.
    <a href="Main_Work.jsp?file=<%=x.getName()%>"><%=x.getName()%></a><br>
    This will send a parameter called "file" with the value of the file name that the user clicked.
    Now in Main_Work.jsp you can access this data as follows:
    <%
    String s = request.getParameter("file");
    File f = new File("..//files//"+s);
    %>

  • How does firefox know to fill in my credit card details in a webpage? i don't like it to keep them on file.

    how does firefox know the details of my credit card to fill in a web form.? how can I prevent firefox from keeping a copy of my credit card numbers?
    == This happened ==
    Not sure how often
    == i previously filled in the same web page a month ago.

    See [[Form autocomplete]]
    http://kb.mozillazine.org/Deleting_autocomplete_entries

  • How does WebLogic know it needs XA transaction?

    I've been informed that Weblogic 8.1 "knows" whether it needs to start a global XA transaction or not when it starts a transaction...sparing the overhead of an XA transaction if it is not needed.
              Is this a true statement?...and if so...how does it know that distributed resources will be used in the transaction when it is starting the transaction?
              The main reason I ask is that we are wondering if there is any way to avoid using the XA driver for "every" transaction, when we only need it less than 1% of the time. We would like to avoid the overhead that is introduced with XA.

    WebLogic always performs XA operations, it looks at the resource and checks if it implements the XAResource interface, if it does it uses the XA operations with that resource otherwise the operations will just be a null op.
              So it depends on what resources you use in the tx. If you mix, XA and Non-XA resources in the tx, you may hit heuristic exceptions and inconsistentcies in your data which you will have to manually correct. Also you loose the ability to recover any transactions.

  • My Mac Mail says that I have a plug in missing.  How do I know which plug in is missing and where do I get it?

    My Mac Mail says that I have a plug in missing.  How do I know which plug in is missing and where do I get it?

    Does this happen ONLY with Mail? Could you close all other applications and open Mail and check again? If this is still happening, please post a screenshot here.

  • How the system know which are Inventory cubes?while compres in ProcessChain

    Hi,Experts
    When I create a Cube compress in ProcessChain ,under the page there is a checkbox called No Maker for Inventory Cube,and I also know the Non-cumulative key figure can not be compress,
    My question is how the system know which are Inventory cubes? and many cube create from ourself.

    Hi,
    I think,
    - in the sap tables there are no information.
    - the program reads the infocube definition and check: is there a non-***. value?
    Sven

Maybe you are looking for

  • Getting physical path from logical path

    Hi, I am using the FM FILE_GET_NAME  to get the physical path for a given logical path which I have specified within the FILE transaction. The code works fine when I run the program in foreground but it doesn't work when I run it in background. Can a

  • How to Build Email Message in Unix

    Hi All, I have a situation where i need to send a mail based on a unix script. And now the problem is that the mail which i sent should have the values i pass to it as parameters like... 1. From: 2. To: 3. Subject: 4. Attachment: I am passing all the

  • Trying to sync my new i6. It's been stuck on step 2 of 5 for an hour. Syncing mail accounts. Why the delay?

    Trying to sync my new i6. It's been stuck on step 2 of 5 for an hour. Syncing mail accounts. Why the delay?

  • Using Web Dynpro to bypass a r/3 selection screen

    Hello, Very new to portal development and looking to see if there is a way to do this. Overview: I created a WebDynpro to display R/3 information in a table via an iView. This information contains R/3 report variants based on user security. The user

  • Yellow Bar showing in IE7

    Hey all, I'm getting a weird problem in IE7 and just cannot figure out how to solve it. My website is www.overman.info, and my IE7 problem can be viewed at http://www.overman.info/Images/Global/Example1.jpg. I fixed the double bar problem shown in th