Thanks. This is addressed now. New "4018_webappsecurity.zip" file is uploaded.
-Sang Shin Presario 6331RSH HAM wrote: > Addendum: I did not know what was going on here as I was just going > through the lab. This just distracts from the flow of the lesson. I > know it's a simple fix but why should I have to figure it out? It's in > the lab zip that way. We add in mygroup1 later in this lab so why have > it first? I'm not supposed to know what is wrong. It should work right > the first time. Rarely do I skip ahead unless the lesson tells me to. > > On Aug 27, 11:28 am, Presario 6331RSH HAM <[EMAIL PROTECTED]> wrote: > >> Hello, >> >> The sun-web.xml that I had from just starting and no changes was >> not the same as the one on the lab page. Here is what I had. >> >> <?xml version="1.0" encoding="UTF-8" ?> >> <!DOCTYPE sun-web-app (View Source for full doctype...)> >> - <sun-web-app error-url=""> >> <context-root>/basic-auth-sunappserver</context-root> >> - <security-role-mapping> >> <role-name>staffmember</role-name> >> <principal-name>j2ee</principal-name> >> <group-name>staff</group-name> >> <group-name>mygroup1</group-name> >> </security-role-mapping> >> </sun-web-app> >> >> Notice mygroup1 is included here. This allowed sang to access the >> Dummy page. According to the lab, access should be denied. I removed >> mygroup1 from this xml and all is as it should be. >> Thanks! I hope you all can fix this. >> > > > -- --------------------------------------------------------------- **** Ruby, JRuby, and Rails course starts from July 15th *** http://www.javapassion.com/rubyonrails/ Sang Shin, [EMAIL PROTECTED] http://www.javapassion.com/SangShinSchedule.html (Life is worth living... with Passion!) --------------------------------------------------------------- --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Java EE (J2EE) Programming with Passion!" group. To post to this group, send email to java-ee-j2ee-programming-with-passion@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en -~----------~----~----~----~------~----~------~--~---