@Inject
- @Named(value = "rBACManager#jdo")
+ @Named(value = "rbacManager#jdo")
RBACManager rbacManager;
@Before
private RoleManager roleManager;
@Inject
- @Named(value = "rBACManager#cached")
+ @Named(value = "rbacManager#cached")
private RBACManager rbacManager;
public void validateEnvironment( List<String> violations )
private UserManager userManager;
@Inject
- @Named( value = "rBACManager#cached" )
+ @Named( value = "rbacManager#cached" )
private RBACManager rbacManager;
/**
@Inject
public DefaultRoleManagementService( RoleManager roleManager,
- @Named(value = "rBACManager#cached") RBACManager rbacManager,
+ @Named(value = "rbacManager#cached") RBACManager rbacManager,
@Named(value = "userManager#cached") UserManager userManager )
{
this.roleManager = roleManager;
private Mailer mailer;
@Inject
- @Named( value = "rBACManager#cached" )
+ @Named( value = "rbacManager#cached" )
private RBACManager rbacManager;
private HttpAuthenticator httpAuthenticator;
implements FakeCreateAdminService
{
@Inject
- @Named( value = "rBACManager#jdo" )
+ @Named( value = "rbacManager#jdo" )
private RBACManager rbacManager;
@Inject
private Logger log = LoggerFactory.getLogger( getClass() );
@Inject
- @Named(value = "rBACManager#cached")
+ @Named(value = "rbacManager#cached")
private RBACManager manager;
@Inject
<module>redback-rbac-jdo</module>
<module>redback-rbac-memory</module>
<module>redback-rbac-cached</module>
+ <!--module>redback-rbac-ldap</module-->
</modules>
</project>
*
* @author <a href="mailto:joakim@erdfelt.com">Joakim Erdfelt</a>
*/
-@Service( "rBACManager#cached" )
+@Service( "rbacManager#cached" )
public class CachedRbacManager
implements RBACManager, RBACManagerListener
{
private Logger log = LoggerFactory.getLogger( getClass() );
@Inject
- @Named( value = "rBACManager#jdo" )
+ @Named( value = "rbacManager#jdo" )
private RBACManager rbacImpl;
@Inject
@Inject
- @Named( value = "rBACManager#cached" )
+ @Named( value = "rbacManager#cached" )
RBACManager rbacManager;
/**
{
@Inject
- @Named( value = "rBACManager#cached" )
+ @Named( value = "rbacManager#cached" )
RBACManager rbacManager;
/*
<alias name="commons-configuration" alias="test-conf"/>
- <bean name= "rBACManager#cached" class="org.apache.archiva.redback.rbac.cached.CachedRbacManager">
- <property name="rbacImpl" ref="rBACManager#memory"/>
+ <bean name= "rbacManager#cached" class="org.apache.archiva.redback.rbac.cached.CachedRbacManager">
+ <property name="rbacImpl" ref="rbacManager#memory"/>
<property name="effectiveRoleSetCache" ref="cache#effectiveRoleSet"/>
<property name="operationsCache" ref="cache#operations"/>
<property name="permissionsCache" ref="cache#permissions"/>
* @author Jesse McConnell <jmcconnell@apache.org>
*
*/
-@Service( "rBACManager#jdo" )
+@Service( "rbacManager#jdo" )
public class JdoRbacManager
extends AbstractRBACManager
implements RBACManagerListener
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd"
default-lazy-init="true">
- <bean name="rBACManager#jdo" class="org.apache.archiva.redback.rbac.jdo.JdoRbacManager" init-method="initialize">
+ <bean name="rbacManager#jdo" class="org.apache.archiva.redback.rbac.jdo.JdoRbacManager" init-method="initialize">
<property name="jdo" ref="jdoTool"/>
</bean>
DefaultConfigurableJdoFactory jdoFactory;
@Inject
- @Named( value = "rBACManager#jdo" )
+ @Named( value = "rbacManager#jdo" )
RBACManager rbacManager;
public static int EVENTCOUNT = 2;
* @author <a href="mailto:joakim@erdfelt.com">Joakim Erdfelt</a>
*
*/
-@Service( "rBACManager#memory" )
+@Service( "rbacManager#memory" )
public class MemoryRbacManager
extends AbstractRBACManager
implements RBACManager
{
@Inject
- @Named (value = "rBACManager#memory")
+ @Named (value = "rbacManager#memory")
RBACManager rbacManager;
public static int EVENTCOUNT = 2;
private RoleTemplateProcessor templateProcessor;
@Inject
- @Named(value = "rBACManager#cached")
+ @Named(value = "rbacManager#cached")
private RBACManager rbacManager;
private Logger log = LoggerFactory.getLogger( DefaultRoleModelProcessor.class );
@Inject
- @Named( value = "rBACManager#cached" )
+ @Named( value = "rbacManager#cached" )
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#cached" )
private RBACManager rbacManager;
@SuppressWarnings( "unchecked" )
DefaultConfigurableJdoFactory jdoFactory;
@Inject
- @Named( value = "rBACManager#jdo" )
+ @Named( value = "rbacManager#jdo" )
JdoRbacManager rbacManagerJdo;
@Inject @Named(value = "roleManager#jpox")
extends AbstractRoleManagerTest
{
- @Inject @Named(value = "rBACManager#memory")
+ @Inject @Named(value = "rbacManager#memory")
RBACManager rbacManagerMemory;
@Inject
extends TestCase
{
@Inject
- @Named( value = "rBACManager#memory" )
+ @Named( value = "rbacManager#memory" )
private RBACManager rbacManager;
@Inject
{
@Inject
- @Named( value = "rBACManager#memory" )
+ @Named( value = "rbacManager#memory" )
private RBACManager rbacManager;
@Inject @Named(value = "modelProcessor#memory")
<bean name="roleModelProcessor" class="org.apache.archiva.redback.role.processor.DefaultRoleModelProcessor">
- <property name="rbacManager" ref="rBACManager#jdo"/>
+ <property name="rbacManager" ref="rbacManager#jdo"/>
</bean>
<alias name="roleModelProcessor" alias="roleModelProcessor#jpox"/>
<bean name="roleTemplateProcessor" class="org.apache.archiva.redback.role.template.DefaultRoleTemplateProcessor">
- <property name="rbacManager" ref="rBACManager#jdo"/>
+ <property name="rbacManager" ref="rbacManager#jdo"/>
</bean>
<alias name="roleTemplateProcessor" alias="roleTemplateProcessor#jpox"/>
<property name="modelValidator" ref="roleModelValidator"/>
<property name="modelProcessor" ref="roleModelProcessor#jpox"/>
<property name="templateProcessor" ref="roleTemplateProcessor#jpox"/>
- <property name="rbacManager" ref="rBACManager#jdo"/>
+ <property name="rbacManager" ref="rbacManager#jdo"/>
</bean>
<alias name="roleManager" alias="roleManager#jpox"/>
- <bean name="rBACManager#jdo" class="org.apache.archiva.redback.rbac.jdo.JdoRbacManager">
+ <bean name="rbacManager#jdo" class="org.apache.archiva.redback.rbac.jdo.JdoRbacManager">
<property name="jdo" ref="jdoTool"/>
<property name="enableCache" value="false"/>
</bean>
<property name="modelValidator" ref="roleModelValidator"/>
<property name="modelProcessor" ref="modelProcessor#memory"/>
<property name="templateProcessor" ref="templateProcessor#memory"/>
- <property name="rbacManager" ref="rBACManager#memory"/>
+ <property name="rbacManager" ref="rbacManager#memory"/>
</bean>
<bean name="modelProcessor#memory" class="org.apache.archiva.redback.role.processor.DefaultRoleModelProcessor">
- <property name="rbacManager" ref="rBACManager#memory"/>
+ <property name="rbacManager" ref="rbacManager#memory"/>
</bean>
<bean name="templateProcessor#memory" class="org.apache.archiva.redback.role.template.DefaultRoleTemplateProcessor">
- <property name="rbacManager" ref="rBACManager#memory"/>
+ <property name="rbacManager" ref="rbacManager#memory"/>
</bean>
<!--