]> source.dussan.org Git - gitblit.git/commit
Authenticate the webapp against the same realm as the git servlet.
authorJames Moger <james.moger@gitblit.com>
Thu, 14 Apr 2011 22:29:10 +0000 (18:29 -0400)
committerJames Moger <james.moger@gitblit.com>
Thu, 14 Apr 2011 22:29:10 +0000 (18:29 -0400)
commitfc948cacef9c9b8c0a1e84cbc082ca67cd5f68d9
tree4287442c5d74c26c3e4826bc79d02c804cd0f8c4
parent94b96b5a98bef254128ccc4f5fc0e0c4376324e4
Authenticate the webapp against the same realm as the git servlet.

Right now the implementation is hard-coded to pass the realm into a
singleton.  This won't work for a WAR distribution so I will
need to figure out how to properly authenticate the webapp using form
authentication and the git servlet using basic authentication - host
against the same realm.
15 files changed:
gitblit.properties
src/com/gitblit/Constants.java
src/com/gitblit/GitBlit.java [new file with mode: 0644]
src/com/gitblit/GitBlitServer.java
src/com/gitblit/ILoginService.java [new file with mode: 0644]
src/com/gitblit/JettyLoginService.java [new file with mode: 0644]
src/com/gitblit/wicket/GitBlitWebApp.java
src/com/gitblit/wicket/GitBlitWebSession.java
src/com/gitblit/wicket/LoginPage.java
src/com/gitblit/wicket/RepositoryPage.java
src/com/gitblit/wicket/User.java
src/com/gitblit/wicket/pages/PatchPage.java
src/com/gitblit/wicket/pages/RawPage.java
src/com/gitblit/wicket/pages/RepositoriesPage.java
users.properties