public class DefaultReceivePackFactory extends Object implements ReceivePackFactory<javax.servlet.http.HttpServletRequest>
ReceivePack
service
instance.
Writing by receive-pack is permitted if any of the following is true:
HttpServletRequest.getRemoteUser()
to the
authenticated name.
http.receivepack
explicitly
set to true.
DISABLED
Constructor and Description |
---|
DefaultReceivePackFactory() |
Modifier and Type | Method and Description |
---|---|
ReceivePack |
create(javax.servlet.http.HttpServletRequest req,
Repository db) |
public ReceivePack create(javax.servlet.http.HttpServletRequest req, Repository db) throws ServiceNotEnabledException, ServiceNotAuthorizedException
create
in interface ReceivePackFactory<javax.servlet.http.HttpServletRequest>
ServiceNotEnabledException
ServiceNotAuthorizedException
Copyright © 2018 Eclipse JGit Project. All rights reserved.