mirror of https://github.com/apache/archiva.git
fix junit spring configuration
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135059 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
4ebc70a0e6
commit
b55ef5058a
|
@ -25,16 +25,21 @@ import org.apache.jackrabbit.webdav.DavException;
|
|||
import org.apache.jackrabbit.webdav.DavServletRequest;
|
||||
import org.apache.maven.archiva.configuration.ArchivaConfiguration;
|
||||
import org.springframework.context.ApplicationContext;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import javax.inject.Inject;
|
||||
|
||||
/**
|
||||
* UnauthenticatedDavResourceFactory
|
||||
*
|
||||
* @version $Id:
|
||||
*/
|
||||
@Service("archivaDavResourceFactory#unauthenticated")
|
||||
public class UnauthenticatedDavResourceFactory
|
||||
extends ArchivaDavResourceFactory
|
||||
{
|
||||
|
||||
@Inject
|
||||
public UnauthenticatedDavResourceFactory( ApplicationContext applicationContext, PlexusSisuBridge plexusSisuBridge,
|
||||
ArchivaConfiguration archivaConfiguration )
|
||||
throws PlexusSisuBridgeException
|
||||
|
|
|
@ -67,4 +67,11 @@
|
|||
</property>
|
||||
</bean>
|
||||
|
||||
<alias name="archivaDavResourceFactory#unauthenticated" alias="davResourceFactory#archiva"/>
|
||||
<!--
|
||||
<bean name="davResourceFactory#archiva" class="org.apache.maven.archiva.webdav.UnauthenticatedDavResourceFactory">
|
||||
<property name="servletAuth" ref="servletAuthenticator"/>
|
||||
</bean>
|
||||
-->
|
||||
|
||||
</beans>
|
Loading…
Reference in New Issue