mirror of https://github.com/apache/archiva.git
[MRM-564] Audit log is not populated when artifacts are deployed
Passing through listener to actual davserver impl. git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@587908 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
6ab9c44b0c
commit
06539ad3be
|
@ -40,6 +40,7 @@ import org.codehaus.plexus.util.xml.pull.XmlPullParserException;
|
|||
import org.codehaus.plexus.webdav.AbstractDavServerComponent;
|
||||
import org.codehaus.plexus.webdav.DavServerComponent;
|
||||
import org.codehaus.plexus.webdav.DavServerException;
|
||||
import org.codehaus.plexus.webdav.DavServerListener;
|
||||
import org.codehaus.plexus.webdav.servlet.DavServerRequest;
|
||||
import org.codehaus.plexus.webdav.util.WebdavMethodUtil;
|
||||
|
||||
|
@ -437,13 +438,38 @@ public class ProxiedDavServer
|
|||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addListener( DavServerListener listener )
|
||||
{
|
||||
super.addListener( listener );
|
||||
davServer.addListener( listener );
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isUseIndexHtml()
|
||||
{
|
||||
return davServer.isUseIndexHtml();
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean hasResource( String resource )
|
||||
{
|
||||
return davServer.hasResource( resource );
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeListener( DavServerListener listener )
|
||||
{
|
||||
davServer.removeListener( listener );
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setUseIndexHtml( boolean useIndexHtml )
|
||||
{
|
||||
super.setUseIndexHtml( useIndexHtml );
|
||||
davServer.setUseIndexHtml( useIndexHtml );
|
||||
}
|
||||
|
||||
|
||||
public ManagedRepositoryContent getRepository()
|
||||
{
|
||||
return managedRepository;
|
||||
|
|
Loading…
Reference in New Issue