Description
No password/account/sync policy found shouldn't be logged at ERROR level (see the example below).
12:41:33.023 ERROR org.apache.syncope.core.rest.utils.RestServiceExceptionMapper - Exception thrown by REST method: No password policy found
org.apache.syncope.core.persistence.dao.NotFoundException: No password policy found
at org.apache.syncope.core.rest.controller.PolicyController.getGlobalPasswordPolicy(PolicyController.java:114) ~[PolicyController.class:?]
at org.apache.syncope.core.rest.controller.PolicyController$$FastClassBySpringCGLIB$$e52bc41a.invoke(<generated>) ~[ReflectUtils.class:?]
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) ~[MethodProxy.class:4.0.9.RELEASE]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:708) ~[CglibAopProxy$CglibMethodInvocation.class:4.0.9.RELEASE]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) ~[ReflectiveMethodInvocation.class:4.0.9.RELEASE]
at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:85) ~[MethodInvocationProceedingJoinPoint.class:4.0.9.RELEASE]
at org.apache.syncope.core.rest.controller.ControllerHandler.around(ControllerHandler.java:75) ~[ControllerHandler.class:?]
at sun.reflect.GeneratedMethodAccessor103.invoke(Unknown Source) ~[?:?]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_92]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_92]