for (PlasticMethod method : plasticClass
.getMethodsWithAnnotation(AuthenticationPolicy.class)) {
String methodName = method.getDescription().methodName;
AuthenticationPolicy policy = method
.getAnnotation(AuthenticationPolicy.class);
OnEvent event = method.getAnnotation(OnEvent.class);
if (methodName.startsWith("on") || event != null) {
String componentId = extractComponentId(methodName, event);
String eventType = extractEventType(methodName, event);
String authenticationPolicyMeta = AuthenticationValidator.EVENT_HANDLER_AUTHENTICATION_TYPE
+ "-" + componentId + "-" + eventType;