Apache Struts 2 Documentation > Home > Guides > Core Developers Guide > Interceptors > Roles Interceptor

will only be executed if the user has the correct role.