1 Reply Latest reply on Jan 22, 2009 5:55 AM by Richard_Abbott



      I need to add <security-constraint> to my Flex Builder-3 project.
      How and where do I add this with FB3.

      After I have used the authentication J2EE basic authentication mechanism, how
      do I get a reference to the role-name that has logged in?

        • 1. Re:  WEB-INF/web.xml
          Richard_Abbott Level 3
          I don't understand why this would be necessary? The J2EE security authentication process happens at the server and so protects your jsp etc pages that load into the browser. The Flex app runs in the client once the page has loaded. A thread called "j_security_check" a couple of days ago looked at pretty much the same issue. Basically, if you want to enforce some security in your (client) Flex app that uses the security model of your server, then you have to write something that sends credentials to teh server and gets the answer back.