mirror of https://github.com/apache/archiva.git
more logs
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1571847 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
764c9d6424
commit
73b0d6bf95
|
@ -192,15 +192,21 @@ public class DefaultRedbackRuntimeConfigurationAdmin
|
||||||
"redbackRuntimeConfiguration with empty userManagerImpls so force at least jdo implementation !" );
|
"redbackRuntimeConfiguration with empty userManagerImpls so force at least jdo implementation !" );
|
||||||
redbackRuntimeConfiguration.getUserManagerImpls().add( "jdo" );
|
redbackRuntimeConfiguration.getUserManagerImpls().add( "jdo" );
|
||||||
updateRedbackRuntimeConfiguration( redbackRuntimeConfiguration );
|
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() )
|
if ( redbackRuntimeConfiguration.getRbacManagerImpls().isEmpty() )
|
||||||
{
|
{
|
||||||
log.info(
|
log.info(
|
||||||
"redbackRuntimeConfiguration with empty rbacManagerImpls so force at least cached implementation !" );
|
"redbackRuntimeConfiguration with empty rbacManagerImpls so force at least cached implementation !" );
|
||||||
redbackRuntimeConfiguration.getRbacManagerImpls().add( "cached" );
|
redbackRuntimeConfiguration.getRbacManagerImpls().add( "cached" );
|
||||||
updateRedbackRuntimeConfiguration( redbackRuntimeConfiguration );
|
updateRedbackRuntimeConfiguration( redbackRuntimeConfiguration );
|
||||||
|
} else
|
||||||
|
{
|
||||||
|
log.info( "using rbacManagerImpls: {}", redbackRuntimeConfiguration.getRbacManagerImpls());
|
||||||
}
|
}
|
||||||
|
|
||||||
boolean save = false;
|
boolean save = false;
|
||||||
|
|
Loading…
Reference in New Issue