From fc948cacef9c9b8c0a1e84cbc082ca67cd5f68d9 Mon Sep 17 00:00:00 2001 From: James Moger <james.moger@gitblit.com> Date: Thu, 14 Apr 2011 18:29:10 -0400 Subject: [PATCH] Authenticate the webapp against the same realm as the git servlet. --- src/com/gitblit/Constants.java | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/src/com/gitblit/Constants.java b/src/com/gitblit/Constants.java index 052055a..186193e 100644 --- a/src/com/gitblit/Constants.java +++ b/src/com/gitblit/Constants.java @@ -5,6 +5,12 @@ public final static String NAME = "Git:Blit"; public final static String VERSION = "0.0.1"; + + public final static String ADMIN_ROLE = "admin"; + + public final static String PULL_ROLE = "pull"; + + public final static String PUSH_ROLE = "push"; public static String getGitBlitVersion() { return NAME + " v" + VERSION; -- Gitblit v1.9.1