private Logger log = LoggerFactory.getLogger( getClass() );
@Inject
- @Named(value = "rbacManager#cached")
+ @Named(value = "rbacManager#default")
private RBACManager manager;
@Inject
private RoleManager roleManager;
@Inject
- @Named(value = "rbacManager#cached")
+ @Named(value = "rbacManager#default")
private RBACManager rbacManager;
public void validateEnvironment( List<String> violations )
private UserManager userManager;
@Inject
- @Named( value = "rbacManager#cached" )
+ @Named( value = "rbacManager#default" )
private RBACManager rbacManager;
/**
@Inject
public DefaultRoleManagementService( RoleManager roleManager,
- @Named(value = "rbacManager#cached") RBACManager rbacManager,
+ @Named(value = "rbacManager#default") RBACManager rbacManager,
@Named(value = "userManager#cached") UserManager userManager )
{
this.roleManager = roleManager;
private Mailer mailer;
@Inject
- @Named( value = "rbacManager#cached" )
+ @Named( value = "rbacManager#default" )
private RBACManager rbacManager;
private HttpAuthenticator httpAuthenticator;
private Logger log = LoggerFactory.getLogger( getClass() );
@Inject
- @Named( value = "rbacManager#cached" )
+ @Named( value = "rbacManager#default" )
private RBACManager rbacImpl;
@Inject
<context:property-placeholder system-properties-mode="OVERRIDE"/>
+ <alias name="rbacManager#memory" alias="rbacManager#default"/>
+
<bean name="apacheDS#test" class="org.apache.archiva.redback.components.apacheds.DefaultApacheDs"
scope="prototype">
<property name="basedir" value="${basedir}/target/apacheds"/>
private RoleTemplateProcessor templateProcessor;
@Inject
- @Named(value = "rbacManager#cached")
+ @Named(value = "rbacManager#default")
private RBACManager rbacManager;
private Logger log = LoggerFactory.getLogger( DefaultRoleModelProcessor.class );
@Inject
- @Named(value = "rbacManager#cached")
+ @Named(value = "rbacManager#default")
private RBACManager rbacManager;
private Map<String, Resource> resourceMap = new HashMap<String, Resource>();
private Logger log = LoggerFactory.getLogger( DefaultRoleTemplateProcessor.class );
@Inject
- @Named(value = "rbacManager#cached")
+ @Named(value = "rbacManager#default")
private RBACManager rbacManager;
@SuppressWarnings("unchecked")
http://www.springframework.org/schema/context/spring-context-3.0.xsd"
default-lazy-init="true">
+ <alias name="rbacManager#cached" alias="rbacManager#default"/>
+
<context:annotation-config />
<context:component-scan
base-package="org.apache.archiva.redback.role"/>