From 73b0d6bf95c2296c43724d102946a4eb34c2a716 Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Tue, 25 Feb 2014 22:41:04 +0000 Subject: [PATCH] more logs git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1571847 13f79535-47bb-0310-9956-ffa450edef68 --- .../runtime/DefaultRedbackRuntimeConfigurationAdmin.java | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/src/main/java/org/apache/archiva/admin/repository/runtime/DefaultRedbackRuntimeConfigurationAdmin.java b/archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/src/main/java/org/apache/archiva/admin/repository/runtime/DefaultRedbackRuntimeConfigurationAdmin.java index c4d179eeb..4308b27f8 100644 --- a/archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/src/main/java/org/apache/archiva/admin/repository/runtime/DefaultRedbackRuntimeConfigurationAdmin.java +++ b/archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/src/main/java/org/apache/archiva/admin/repository/runtime/DefaultRedbackRuntimeConfigurationAdmin.java @@ -192,15 +192,21 @@ public class DefaultRedbackRuntimeConfigurationAdmin "redbackRuntimeConfiguration with empty userManagerImpls so force at least jdo implementation !" ); redbackRuntimeConfiguration.getUserManagerImpls().add( "jdo" ); updateRedbackRuntimeConfiguration( redbackRuntimeConfiguration ); + } else + { + log.info( "using userManagerImpls: {}", redbackRuntimeConfiguration.getUserManagerImpls() ); } - // we ensure authorizerImpls is not empty if so put + // we ensure rbacManagerImpls is not empty if so put at least cached if ( redbackRuntimeConfiguration.getRbacManagerImpls().isEmpty() ) { log.info( "redbackRuntimeConfiguration with empty rbacManagerImpls so force at least cached implementation !" ); redbackRuntimeConfiguration.getRbacManagerImpls().add( "cached" ); updateRedbackRuntimeConfiguration( redbackRuntimeConfiguration ); + } else + { + log.info( "using rbacManagerImpls: {}", redbackRuntimeConfiguration.getRbacManagerImpls()); } boolean save = false; -- 2.39.5