@Service(value="davResourceFactory#archiva") public class ArchivaDavResourceFactory extends Object implements org.apache.jackrabbit.webdav.DavResourceFactory, Auditable
Constructor and Description |
---|
ArchivaDavResourceFactory(org.springframework.context.ApplicationContext applicationContext,
ArchivaConfiguration archivaConfiguration) |
Modifier and Type | Method and Description |
---|---|
void |
addAuditListener(AuditListener listener)
Add an AuditListener.
|
protected StorageAsset |
buildMergedIndexDirectory(String activePrincipal,
org.apache.jackrabbit.webdav.DavServletRequest request,
RepositoryGroup repositoryGroup) |
void |
clearAuditListeners()
Remove all registered
AuditListener objects. |
org.apache.jackrabbit.webdav.DavResource |
createResource(org.apache.jackrabbit.webdav.DavResourceLocator locator,
org.apache.jackrabbit.webdav.DavServletRequest request,
org.apache.jackrabbit.webdav.DavServletResponse response) |
org.apache.jackrabbit.webdav.DavResource |
createResource(org.apache.jackrabbit.webdav.DavResourceLocator locator,
org.apache.jackrabbit.webdav.DavSession davSession) |
protected String |
getActivePrincipal(org.apache.jackrabbit.webdav.DavServletRequest request) |
ManagedRepositoryAdmin |
getManagedRepositoryAdmin() |
ProxyRegistry |
getProxyRegistry() |
RemoteRepositoryAdmin |
getRemoteRepositoryAdmin() |
RepositoryRegistry |
getRepositoryRegistry() |
void |
initialize() |
protected boolean |
isAuthorized(org.apache.jackrabbit.webdav.DavServletRequest request,
String repositoryId) |
void |
removeAuditListener(AuditListener listener)
Remove an AuditListener.
|
void |
setArchivaConfiguration(ArchivaConfiguration archivaConfiguration) |
void |
setHttpAuth(org.apache.archiva.redback.integration.filter.authentication.HttpAuthenticator httpAuth) |
void |
setManagedRepositoryAdmin(ManagedRepositoryAdmin managedRepositoryAdmin) |
void |
setProxyRegistry(ProxyRegistry proxyRegistry) |
void |
setRemoteRepositoryAdmin(RemoteRepositoryAdmin remoteRepositoryAdmin) |
void |
setRepositoryRegistry(RepositoryRegistry repositoryRegistry) |
void |
setScheduler(RepositoryArchivaTaskScheduler scheduler) |
void |
setServletAuth(ServletAuthenticator servletAuth) |
@Inject public ArchivaDavResourceFactory(org.springframework.context.ApplicationContext applicationContext, ArchivaConfiguration archivaConfiguration) throws PlexusSisuBridgeException
PlexusSisuBridgeException
@PostConstruct public void initialize() throws IOException
IOException
public org.apache.jackrabbit.webdav.DavResource createResource(org.apache.jackrabbit.webdav.DavResourceLocator locator, org.apache.jackrabbit.webdav.DavServletRequest request, org.apache.jackrabbit.webdav.DavServletResponse response) throws org.apache.jackrabbit.webdav.DavException
createResource
in interface org.apache.jackrabbit.webdav.DavResourceFactory
org.apache.jackrabbit.webdav.DavException
public org.apache.jackrabbit.webdav.DavResource createResource(org.apache.jackrabbit.webdav.DavResourceLocator locator, org.apache.jackrabbit.webdav.DavSession davSession) throws org.apache.jackrabbit.webdav.DavException
createResource
in interface org.apache.jackrabbit.webdav.DavResourceFactory
org.apache.jackrabbit.webdav.DavException
public void addAuditListener(AuditListener listener)
Auditable
addAuditListener
in interface Auditable
listener
- the listener to add.public void clearAuditListeners()
Auditable
AuditListener
objects.clearAuditListeners
in interface Auditable
public void removeAuditListener(AuditListener listener)
Auditable
removeAuditListener
in interface Auditable
listener
- the listener to remove.public void setProxyRegistry(ProxyRegistry proxyRegistry)
public ProxyRegistry getProxyRegistry()
protected boolean isAuthorized(org.apache.jackrabbit.webdav.DavServletRequest request, String repositoryId) throws org.apache.jackrabbit.webdav.DavException
org.apache.jackrabbit.webdav.DavException
protected String getActivePrincipal(org.apache.jackrabbit.webdav.DavServletRequest request)
protected StorageAsset buildMergedIndexDirectory(String activePrincipal, org.apache.jackrabbit.webdav.DavServletRequest request, RepositoryGroup repositoryGroup) throws org.apache.jackrabbit.webdav.DavException
org.apache.jackrabbit.webdav.DavException
public void setServletAuth(ServletAuthenticator servletAuth)
public void setHttpAuth(org.apache.archiva.redback.integration.filter.authentication.HttpAuthenticator httpAuth)
public void setScheduler(RepositoryArchivaTaskScheduler scheduler)
public void setArchivaConfiguration(ArchivaConfiguration archivaConfiguration)
public RemoteRepositoryAdmin getRemoteRepositoryAdmin()
public void setRemoteRepositoryAdmin(RemoteRepositoryAdmin remoteRepositoryAdmin)
public ManagedRepositoryAdmin getManagedRepositoryAdmin()
public void setManagedRepositoryAdmin(ManagedRepositoryAdmin managedRepositoryAdmin)
public RepositoryRegistry getRepositoryRegistry()
public void setRepositoryRegistry(RepositoryRegistry repositoryRegistry)
Copyright © 2006–2019 The Apache Software Foundation. All rights reserved.