- @SuppressWarnings("rawtypes")
- public Object postProcessBeforeInstantiation(Class beanClass,
- String beanName) throws BeansException {
- // we authenticate when any bean is instantiated
- // we will deauthenticate only when the application context has been
- // refreshed in order to be able to deal with factory beans has well
- if (!isAuthenticatedBySelf()) {
- if (beanNames.size() == 0)
- authenticateAsSystem();
- else if (beanNames.contains(beanName))
- authenticateAsSystem();
- }
- return null;
- }
-
- public boolean postProcessAfterInstantiation(Object bean, String beanName)
- throws BeansException {
- return true;
- }
-
- public PropertyValues postProcessPropertyValues(PropertyValues pvs,
- PropertyDescriptor[] pds, Object bean, String beanName)
- throws BeansException {
- return pvs;
- }
+// @SuppressWarnings("rawtypes")
+// public Object postProcessBeforeInstantiation(Class beanClass,
+// String beanName) throws BeansException {
+// // we authenticate when any bean is instantiated
+// // we will deauthenticate only when the application context has been
+// // refreshed in order to be able to deal with factory beans has well
+// // if (!isAuthenticatedBySelf()) {
+// // if (beanNames.size() == 0)
+// // authenticateAsSystem();
+// // else if (beanNames.contains(beanName))
+// // authenticateAsSystem();
+// // }
+// return null;
+// }
+//
+// public boolean postProcessAfterInstantiation(Object bean, String beanName)
+// throws BeansException {
+// return true;
+// }
+//
+// public PropertyValues postProcessPropertyValues(PropertyValues pvs,
+// PropertyDescriptor[] pds, Object bean, String beanName)
+// throws BeansException {
+// return pvs;
+// }