Greeting. I was wondering if anyone is using AOP (Aspect Oriented
Programming) to ensure login and authentication before allowing someone
access to controllers and models.
I found two versions of RCR 321 that discuss cut-based AOP, but as far
as I can tell there isn’t an implementation of the RCR as an AOP
Additionally, I tried to dig up information on Aspect4r and AspectR.
Aspect4r is a no-who. Aspect4 is out on SourceForge, but it doesn’t
appear to be an active project.
The problem I want to solve is eleminating boiler-plate code from
controllers and models that ensures a user is logged in and has rights
to access a controller or model.
This has to be a problem others are confronting and have already solved.
What approach is usually used? Does the Salt Login engine do this?
Does anyone use AOP?