Reputation: 8772
I have an ID request parameter in my action class, when it is intercepted how can the interceptor read this ID parameter for checking in order to authenticate a user.
Upvotes: 0
Views: 1753
Reputation: 24396
Use ActionContext
for getting parameters map:
Map<String, Object> parameters = ActionContext.getContext().getParameters();
Upvotes: 1