more logs

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1571847 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Olivier Lamy 2014-02-25 22:41:04 +00:00
parent 764c9d6424
commit 73b0d6bf95
1 changed files with 7 additions and 1 deletions

View File

@ -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;