]> source.dussan.org Git - gitblit.git/commit
Added AccessRestrictionFilter and simplified authentication.
authorJames Moger <james.moger@gitblit.com>
Tue, 14 Jun 2011 20:55:13 +0000 (16:55 -0400)
committerJames Moger <james.moger@gitblit.com>
Tue, 14 Jun 2011 20:55:13 +0000 (16:55 -0400)
commit8c9a2037b5c0fed881a3ad6dd9cff364eed603d9
tree2144915a2eae2ad9180715da76ddc3ec058b331e
parentc2272275ca990f3e12a5c1fa0a5de4c670a4d8b4
Added AccessRestrictionFilter and simplified authentication.

Replaced servlet container basic authentication with a custom servlet
filter which performs the same function.  The advantage to this is
that the servlet container is now divorced from the webapp.

The login service (realm) also simplified a great deal and removes its
Jetty dependencies.

Additionally, the basic authorization pop-up will be displayed as
needed based on the repository's access restriction.  This was
necessary for view-restricted repositories with the RSS feature.  Its
also necessary for completely open repositories as before it would
prompt for credentials.

Improved feed syndication feature.
27 files changed:
docs/00_index.mkd
src/com/gitblit/AccessRestrictionFilter.java [new file with mode: 0644]
src/com/gitblit/Constants.java
src/com/gitblit/DownloadZipServlet.java
src/com/gitblit/FileLoginService.java [new file with mode: 0644]
src/com/gitblit/FileSettings.java
src/com/gitblit/GitBlit.java
src/com/gitblit/GitBlitServer.java
src/com/gitblit/GitBlitServlet.java [deleted file]
src/com/gitblit/GitFilter.java [new file with mode: 0644]
src/com/gitblit/JettyLoginService.java [deleted file]
src/com/gitblit/ServletRequestWrapper.java [new file with mode: 0644]
src/com/gitblit/SyndicationFilter.java [new file with mode: 0644]
src/com/gitblit/SyndicationServlet.java
src/com/gitblit/models/UserModel.java
src/com/gitblit/utils/StringUtils.java
src/com/gitblit/utils/SyndicationUtils.java
src/com/gitblit/wicket/GitBlitWebApp.java
src/com/gitblit/wicket/WicketUtils.java
src/com/gitblit/wicket/pages/CommitPage.java
src/com/gitblit/wicket/pages/EditUserPage.java
src/com/gitblit/wicket/pages/LogPage.java
src/com/gitblit/wicket/pages/RepositoryPage.java
src/com/gitblit/wicket/pages/SummaryPage.java
src/com/gitblit/wicket/panels/RepositoriesPanel.html
src/com/gitblit/wicket/panels/RepositoriesPanel.java
tests/com/gitblit/tests/GitBlitSuite.java