summaryrefslogtreecommitdiffstats
BranchCommit messageAuthorAge
masterdoc: Update SECURITY.md to include Github's reporting mechanismFlorian Zschocke7 months
gh-pagesUpdate CNAMEFlorian Zschocke2 years
fixup-1.9Reset build identifiers for next point release cycleFlorian Zschocke3 years
wicket-7Merge pull request #1153 from pingunaut/wicket-7James Moger8 years
1026-Lucene-Index-PDFProof of concept #1026Paul Martin9 years
ticket/235Add circular dependency check for tickets,Zsombor Gegesy10 years
ticket/104Add merge type setting to repository page.Florian Zschocke10 years
ticket/138GitHub OAuth login for GitBlitDavid Ostrovsky10 years
ticket/114Do not serialize LoggerJames Moger10 years
ticket/75Move repository ownership to the UserModel and prepare for project ownershipJames Moger11 years
[...]
 
TagDownloadAuthorAge
v1.9.3gitblit-1.9.3.tar.gz  gitblit-1.9.3.zip  flaix3 years
v1.9.2gitblit-1.9.2.tar.gz  gitblit-1.9.2.zip  flaix3 years
v1.9.1gitblit-1.9.1.tar.gz  gitblit-1.9.1.zip  fzs5 years
r1.9.1gitblit-r1.9.1.tar.gz  gitblit-r1.9.1.zip  Florian Zschocke5 years
v1.9.0gitblit-1.9.0.tar.gz  gitblit-1.9.0.zip  fzs5 years
r1.9.0gitblit-r1.9.0.tar.gz  gitblit-r1.9.0.zip  Florian Zschocke5 years
merged--fixMentionsInTickets-985gitblit-merged--fixMentionsInTickets-985.tar.gz  gitblit-merged--fixMentionsInTickets-985.zip  Florian Zschocke8 years
merged--secureCookiesgitblit-merged--secureCookies.tar.gz  gitblit-merged--secureCookies.zip  Florian Zschocke8 years
merged--sshLdapAuthenticatorgitblit-merged--sshLdapAuthenticator.tar.gz  gitblit-merged--sshLdapAuthenticator.zip  Florian Zschocke8 years
merged--sshAuthMethodsgitblit-merged--sshAuthMethods.tar.gz  gitblit-merged--sshAuthMethods.zip  Florian Zschocke8 years
[...]
 
AgeCommit messageAuthorFilesLines
2016-12-10Set secure session cookies when redirecting from HTTP to HTTPS.merged--secureCookiesFlorian Zschocke1-1/+2
2016-12-10Set secure user cookies and only for HTTP.Florian Zschocke1-0/+14
2016-06-22Prepare 1.8.0 releasev1.8.0James Moger2-10/+10
2016-06-22Update documentation for 1.8.0 releaseJames Moger2-96/+37
2016-06-19Merge pull request #1087 from mereth/issues/964-session-loss-redirects-to-sta...Paul Martin1-0/+1
2016-06-18Merge pull request #1055 from gitblit/1048-TicketReferencesPaul Martin14-201/+1926
2016-06-18TicketReference Testing #1048Paul Martin1-4/+36
2016-06-15add missing redirect after restoring user in new sessionmereth1-0/+1
2016-06-13Merge pull request #1084 from metasim/youtrack-hookJames Moger2-0/+254
2016-06-13Merge pull request #1086 from dsteinkopf/masterJames Moger1-2/+14
[...]
*/ .highlight .sc { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Char */ .highlight .dl { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Delimiter */ .highlight .sd { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Doc */ .highlight .s2 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Double */ .highlight .se { color: #0044dd; background-color: #fff0f0 } /* Literal.String.Escape */ .highlight .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */ .highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */ .highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
/*
 * Copyright 2000-2022 Vaadin Ltd.
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */
package com.vaadin.osgi.resources;

/**
 * Used to declare a Vaadin Resource for use in OSGi. The resource is expected
 * to be in the same OSGi bundle as the class implementing this interface, under
 * the path "/VAADIN/{resourceName}" where {resourceName} is what is returned by
 * {@link OsgiVaadinResource#getName()}.
 * <p>
 * To publish a resource, an implementation of this interface needs to be
 * registered as an OSGi service, which makes
 * <code>VaadinResourceTrackerComponent</code> automatically publish the
 * resource with the given name.
 *
 * @since 8.6.0
 */
public interface OsgiVaadinResource {
    /**
     * Return the theme name to publish for OSGi.
     *
     * @return theme name, not null
     */
    String getName();

    public static OsgiVaadinResource create(final String name) {
        return new OsgiVaadinResource() {
            @Override
            public String getName() {
                return name;
            }
        };
    }
}