posted 16 years ago
Correct, JAAS is not web app-specific, and so it has no mechanism to be mapped to URLs. That's where the jGuard project I pointed you to comes in handy.
You can't really compare JASS and web app security, as they are targeted towards different scenarios. Generally, you only need to use JAAS if the username/role concept provided by web app security is not sufficient. For many web apps, it is sufficient.
It should also be pointed out that often people do not use web app security, but rather develop their own, because what web app security provides is rather limited. But in those cases, too, JAAS is not often used due to its complexity.