org.eclipse.jgit.transport.ReceivePack service
instance.
Writing by receive-pack is permitted if any of the following is true:
jakarta.servlet.http.HttpServletRequest#getRemoteUser() to the
authenticated name.
http.receivepack explicitly
set to true.
| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public ReceivePack | create(HttpServletRequest
current request, in case information from the request may help
configure the ReceivePack instance. req, Repository the repository the receive would write into. db)Implements org. Create and configure a new ReceivePack instance for a repository. |
| private static ReceivePack | |
| private static PersonIdent |
| DefaultReceivePackFactory | back to summary |
|---|---|
| public DefaultReceivePackFactory() | |
| create | back to summary |
|---|---|
| public ReceivePack create(HttpServletRequest req, Repository db) throws ServiceNotEnabledException, ServiceNotAuthorizedException Implements org. Doc from org. Create and configure a new ReceivePack instance for a repository.
| |
| createFor | back to summary |
|---|---|
| private static ReceivePack createFor(final HttpServletRequest req, final Repository db, final String user) | |
| toPersonIdent | back to summary |
|---|---|
| private static PersonIdent toPersonIdent(HttpServletRequest req, String user) | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final boolean | |
| pack-priv final boolean |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| enabled | back to summary |
|---|---|
| pack-priv final boolean enabled | |
| set | back to summary |
|---|---|
| pack-priv final boolean set | |
| ServiceConfig | back to summary |
|---|---|
| pack-priv ServiceConfig(Config cfg) | |