API security management using AOP