Thursday June 03, 2004

Raible Road Trip #8
I'm heading to the airport w/in the next hour to embark upon Raible Road Trip #8. My dad is meeting me in San Diego tonight and we're picking up my new bus tomorrow morning. From there, we're going to pick up a few supplies, get the oil changed and head out on the road. I'm taking our digital camera so I'll try to take lots of pictures. We have ideas for the route (maybe through Flagstaff?), but nothing is for sure. Our main goal is to avoid the heat since the bus has an aircooled engine. Our secondary goal is to make it back to Denver by Tuesday so my Dad can catch his flight back to Oregon. A side effect of all of this will be some good memories and hopefully a good story or two.
Posted in General
at Jun 03 2004, 02:05:25 PM MDT
2 Comments
Using JAAS with Tomcat Want to use JAAS with Tomcat? If so, you might want to checkout this Using Tomcat with JAAS tutorial.
Although it is possible to use JAAS within Tomcat as an
authentication mechanism (JAASRealm), the flexibility of the JAAS
framework is lost once the user is authenticated. This is because the
principals are used to denote the concepts of "user" and "role", and
are no longer available in the security context in which the webapp is
executed. The result of the authentication is available only through request.getRemoteUser() and request.isUserInRole().
This reduces the JAAS framework for authorization purposes to a
simple user/role system that loses its connection with the Java
Security Policy. This tutorial's purpose is to put a full-blown JAAS
authorisation implementation in place, using a few tricks to deal with
some of Tomcat's idiosyncrasies.
Personally, request.isUserInRole() usually does everything I need. If I need something more than that, it's usually pretty easy to add some custom logic. Of course, if I ever need anything super robust, I'll probably use the Acegi Security System for Spring.
Posted in Java
at Jun 03 2004, 10:30:27 AM MDT
3 Comments
Search This Site
Recent Entries
- Secure JSON Services with Play Scala and SecureSocial
- My What's New in Spring 3.1 Presentation
- Twitter's Open Source Summit: Bootstrap 2.0 Edition
- Refreshing AppFuse's UI with Twitter Bootstrap
- 2011 - A Year in Review
- Upgrading AppFuse to Spring Security 3.1 and Spring 3.1
- What have I been working on at Taleo?
- Our Engaging Trip to Paris and Antwerp
- My HTML5 with Play Scala, CoffeeScript and Jade Presentation from Devoxx 2011
- Deploying Java and Play Framework Apps to the Cloud with James Ward