Logon/security examples and tutorials and missing one

So far, I have found examples on Sun's site for:
DB based security
http://developers.sun.com/prodtech/javatools/jscreator/reference/techart/signon_app.html
JAAS security (bottom right of screen)
http://developers.sun.com/prodtech/javatools/jscreator/ea/jsc2/learning/tutorials/index.html
But suprisingly, I can not find any examples/tutorials on using container-based security (such as Tomcat/J2EE/Sun's own App Server).
To be concise, I do not see how to use web.xml's <security-constraint> tags via BASIC or FORM auth for security.
Does anyone have any more links to be added to this thread, hopefully including the infamous missing j_security_check login with JSF?
Thanky,
-D

Hi,
My case:
My login.jsp uses <html:form action="/postLogin" method="post"> and is inturn redirected to LoginAction action class. In the execute method of this class, after a bunch of statements, I have
return new ActionForward("j_security_check");
My web.xml looks something like -
<form-login-config>
<form-login-page>/login.do</form-login-page>
<form-error-page>/denied.do</form-error-page>
</form-login-config>
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
What happens now is that when I try to access http://localhost:8080/..../login.do, it takes me to index.jsp by default.
My problem is, I have a third field (dropdown) in the login page - depending on which my landing page must change. How can I do this (I want to retain the container based authentication)? Please reply as I have been working on this for quite sometime without a solution :(
Thanks in adv
Sri

Similar Messages

  • How can i see the serial numbers of the hardware I have registered? my copmuters have been stolen and I'm missing one serial number.

    how can i view the serial numbers of the hardware I have registered? my computers have been stolen and I'm missing one serial number.

    - If you previously turned on FIndMyiPod on the iPod in Settings>iCloud and wifi is on and connected go to iCloud: Find My iPhone, sign in and go to FIndMyiPhone. If the iPod has been restored it will never show up.
    - You can also wipe/erase the iPod and have the iPod play a sound via iCloud.
    - If not shown, then you will have to use the old fashioned way, like if you lost a wallet or purse.
    - Change the passwords for all accounts used on the iPod and report to police
    - There is no way to prevent someone from restoring the iPod (it erases it) using it.
    - Apple will do nothing without a court order                         
    Reporting a lost or stolen Apple product                                        
    - iOS: How to find the serial number, IMEI, MEID, CDN, and ICCID number

  • Purchased album, but missing one song

    I recently bought an album, Gym Class Heroes - The Papercut Chronicles and it is missing one song. On iTunes, there is only 17 songs, but on the actual album, there is 18. I looked on their site and also my friend has the album. What can I do do get the full album? I tried emailing Apple but I'd like to see if somebody here could help me. Also has anybody else dealt with this situation before?
    Thanks.

    I'd suggest you contact the iTunes Music Store customer support department through the form at the bottom of this web page and explain the problem to them. They should at least mark it as a partial album, and of course get the track titles sorted (they may have come that way from the record company).

  • Where to get E-Commerce extension examples and tutorials guide

    Hi All ,
           i am new to CRM E-commerce application , can some one provide me the link to E-Commerce extension examples and tutorials guide , or any links to extending the standard ISA application.
       If you have any documents please send to [email protected]
    Points will be rewarded **
    regards,
    Tarun.

    Hi there,
    The developmentand Extension guid canbe found on the service marketplace please follow the link below
    http://service.sap.com/crm-inst
    => SAP CRM 2005 =>  CRM Core and Standalone Components
    Here you will find the Dev and extension guid as well as the Examples and tutorials.
    Regards
    Mark

  • My iPad updated and wants a security code. I tried the one from my phone and it doesn't work - I never entered a security code. How can I get in now?

    ?My iPad updated and now wants a security code for access and I never gave it one. I tried code I used for my phone and it doesn't work. How can I access now?

    iOS: Device disabled after entering wrong passcode
    http://support.apple.com/kb/ht1212
    How can I unlock my iPad if I forgot the passcode?
    http://tinyurl.com/7ndy8tb
    How to Reset a Forgotten Password for an iOS Device
    http://www.wikihow.com/Reset-a-Forgotten-Password-for-an-iOS-Device
    Using iPhone/iPad Recovery Mode
    http://ipod.about.com/od/iphonetroubleshooting/a/Iphone-Recovery-Mode.htm
    Saw this solution on another post about an iPad in a school environment. Might work on your iPad so you won't lose everything.
    ~~~~~~~~~~~~~
    ‘iPad is disabled’ fix without resetting using iTunes
    Today I met my match with an iPad that had a passcode entered too many times, resulting in it displaying the message ‘iPad is disabled – Connect to iTunes’. This was a student iPad and since they use Notability for most of their work there was a chance that her files were not all backed up to the cloud. I really wanted to just re-activate the iPad instead of totally resetting it back to our default image.
    I reached out to my PLN on Twitter and had some help from a few people through retweets and a couple of clarification tweets. I love that so many are willing to help out so quickly. Through this I also learned that I look like Lt. Riker from Star Trek (thanks @FillineMachine).
    Through some trial and error (and a little sheer luck), I was able to reactivate the iPad without loosing any data. Note, this will only work on the computer it last synced with. Here’s how:
    1. Configurator is useless in reactivating a locked iPad. You will only be able to completely reformat the iPad using Configurator. If that’s ok with you, go for it – otherwise don’t waste your time trying to figure it out.
    2. Open iTunes with the iPad disconnected.
    3. Connect the iPad to the computer and wait for it to show up in the devices section in iTunes.
    4. Click on the iPad name when it appears and you will be given the option to restore a backup or setup as a new iPad (since it is locked).
    5. Click ‘Setup as new iPad’ and then click restore.
    6. The iPad will start backing up before it does the full restore and sync. CANCEL THE BACKUP IMMEDIATELY. You do this by clicking the small x in the status window in iTunes.
    7. When the backup cancels, it immediately starts syncing – cancel this as well using the same small x in the iTunes status window.
    8. The first stage in the restore process unlocks the iPad, you are basically just cancelling out the restore process as soon as it reactivates the iPad.
    If done correctly, you will experience no data loss and the result will be a reactivated iPad. I have now tried this with about 5 iPads that were locked identically by students and each time it worked like a charm.
    ~~~~~~~~~~~~~
    Try it and good luck. You have nothing more to lose if it doesn't work for you.
     Cheers, Tom

  • My safari preferences/ security screen has changed and no longer addresses cookies.  There is now a Preferences/Privacy screen that allows one to delete cookies, although it is harder to do than the older security screen.  Was this an update?

    My Safari Preferences/Security screen has changed and no longer addresses cookies. Rather, there is a new Preferences/Privacy screen that allows you to manipulate cookies, but it is not as easy to use as when cookies were on the security screen. Was this an update?  Has this change affected anyone else? This is strange, because  Safari Help still states cookies are manipulated on the Security screen, even though the screen has changed and no longer addresses cookies.

    Presuming you're referring to Safari 5.1, yes, it's moved, but I don't see it as being harder. Now you can clear all privacy-related items - cookies, cache and history - with one button, the "Remove All Website Data" button. If you want to work with individual cookies, it's still just one button, the "Details" button. So no, I don't see it as being more difficult.
    Regards.

  • SAP E-Commerce 5.0 - Examples and Tutorials Guide  : examples source files

    Hi everyone,
    Where can i find examples source files of the "SAP E-Commerce 5.0 - Examples and Tutorials (Dev./Ext.) " Guide ?
    Thanks & Regards

    You can get the JAVA files source code from the <drive>:\usr\sap\<SID>\DVEBMGS00\j2ee\cluster\server1\apps\sap.com\crm~b2b directory, you should be able to find the src.zip file which contains the source code for the Action & Business object files.
    You can access the JSP files from the <drive>\usr\sap\CD5\DVEBMGS00\j2ee\cluster\server1\apps\sap.com\crm~b2b\servlet_jsp\b2b\root
    OR
    You can import through NWDI into your NWDS.
    Let me know if you need further details.
    Thanks
    Srini Sandaka

  • Security question keep saying they are wrong and I know they are right. I can't change them cuz when I try it tells me to answer the questions. I have tried everything changing my account and all and still can't get it can some one please help me out.

    Security question keep saying they are wrong and I know they are right. I can't change them cuz when I try it tells me to answer the questions. I have tried everything changing my account and all and still can't get it can some one please help me out.

    Go here and select "Reset your password."  You will receive an email message with a link that bypasses the questions.  You will then be able to select and answer the questions again.

  • So I updated to OS X Maverick(s) and backuped my harddrive and got a new one installed, everything seems okay but some things are missing in my settings like the software update icon. Does anyone know how I can get it back?

    So I updated to OS X Maverick(s) and backuped my harddrive and got a new one installed, everything seems okay but some things are missing in my settings like the software update icon. Does anyone know how I can get it back?

    Okay so I asked someone from apple and they said that the software update icon is gone but its functions have been merged with the app store icon on the settings menu. Crisis averted haha!

  • 3D PDF JavaScript Examples and Tutorials

    I am having trouble finding good resources on the web for 3D PDF and Javascripting.  I am particularly interested in finding a good set of javascript examples that I can get ideas and code snippets from.  It would be even better if those examples were associated with some tutorials.  I found this site on Adobe Developer Connection:  JavaScript for Acrobat 3D.  There is a link for a zip file containing JavaScript samples but it is no longer available.  Is there somewhere else I can get this file?  Any tips would be greatly appreciated.

    Sorry, nobody updated the link for the ZIP file when it moved servers - it's at http://partners.adobe.com/public/developer/en/webseminars/3DFiles.zip
    I also suggest going through the tutorials and videos at AUC.

  • Time machine only copies User Info and Users (Applications, Library, and System are missing) from my quad core Mac Pro.  45 Gb of 162 Gb are missing.  Any one having success with time machine copying all folders using Mavericks?   What do I need to do dif

    Time machine only copies User Info and Users (Applications, Library, and System are missing) from my quad core Mac Pro.  45 Gb of 162 Gb are missing.  Any one having success with time machine copying all folders using Mavericks?
    What do I need to do differently?

    The late, great Pondini was investigating that issue before he passed away.
    See here: https://discussions.apple.com/thread/5125969
    I think there might be information there on how to reset Time Machine to do a full backup. I think you basically have to reset it and start over.

  • TS1424 Who do I contact in regards to a faulty album download? Specifically, a duplicate track and a missing one that is available as "album only"

    Who do I contact in regards to a faulty album download? Specifically, a duplicate track and a missing one that is available as "album only"

    Depending upon what country that you are in you might be able to try 'redownloading' it via the Purchased link under Quick Links on the right-hand side of the iTunes store home page on your computer's iTunes. If you aren't in a country where you can re-download music then try the 'report a problem' link from your purchase history : log into your account on your computer's iTunes via Store > View My Account and you should then see a Purchase History section with a 'see all' link to the right of it ; click on that and you should see a list of your purchases ; find that album and use the 'Report a Problem' link.

  • Ho do I convert my Elements 5 Catalog to Elements 13 which I just purchased.  I followed one of the tutorials and converted my Elements 5 Catalog to a "pse.13db" file.  How do I get Elements 13 to recognize that converted file?  When I open Elements 13 Ca

    Ho do I convert my Elements 5 Catalog to Elements 13 which I just purchased.  I followed one of the tutorials and converted my Elements 5 Catalog to a "pse.13db" file.  How do I get Elements 13 to recognize that converted file?  When I open Elements 13 Catalog Manager and browse to the correct location, it doesn't show the file.  Help!  Thanks

    Bumps a écrit:
    Yes - I can run both versions on my PC.  But I really would like to have all of my pictures in the same catalog.
    You can't merge catalogs (even PSE13 ones) in any PSE version (only LR can do that). So, converting catalogs is not the solution to your problem.
    Since you have PSE5 working on your computer and your images also, the solution is to 'write metadata to files in PSE5) and to re-import the images in the PSE13 catalog. That won't duplicate your image files and you'll lose albums/collections, stacks and version sets, but you'll recover tags, captions and ratings.
    To be able to re-import the files indexed in PSE5, you may have to move them to a new master folder.
    I am not sure what your problem with the conversion may be. It's quite possible that the resulting catalog.pse13db is ok and that the issue lies in the ability to open it in the PSE13 organizer.
    As stated by dj_page, double clicking on that file should open the organizer with the new catalog. You could test that by creating a dummy catalog in PSE13 and importing a small batch of photos. Locate the path of the catalog with the menu Help/system info. Copy the catalog.pse13db in another folder and the 'double click' way to open the organizer with that moved catalog database.
    For other users that may be interested in using PSE5 (issued in 2006) on newer OS, here is a useful link:
    Adobe - Photoshop Elements : For Windows : Adobe Photoshop Elements 5.0.2 update

  • Wifi and bluetooth hardware missing in my ipod touch could any one help me to fix it?

    wifi and bluetooth hardware missing in my ipod touch could any one help me to fix it?

    If the following is your problem try the troubleshooting described within:
    iOS: Wi-Fi or Bluetooth settings grayed out or dim
    Frequently it is due to  hardware problem and an appointment at the Genius Bar of an Apple store is in order.
    If that is not your problem then we need more information about hur problem. How do you know the"hardware" is missing?

  • MDO examples and tutorials.

    Hi all,
    Can you please point me where can i find examples and tutorials on MII MDO.
    Even if i can get the steps to create a simple MDO and how to use it in that in real time would be great.
    i tried in help.sap.com site, but could not find examples.
    any help would be highly appreciated.
    Thanks,

    i should have looked around a bit first before i jumped the
    gun and posted, but that's a great recipe with explanation and
    documented code examples.
    i will dig into it so i can get my feet wet and possibly port
    my app to a somewhat similar structure.
    you've helped me out more than once and i do appreciate it.
    thanks greg...
    -fd

Maybe you are looking for