Gitlab Community Edition Instance

Commit 3dfd1fe3 authored by mhellka's avatar mhellka
Browse files

Make DomainAuthorizer a discoverable Plugin

parent f98cc77c
Pipeline #114777 passed with stages
in 7 minutes and 59 seconds
......@@ -15,6 +15,7 @@ import de.gwdg.cdstar.auth.StringPermission;
import de.gwdg.cdstar.auth.simple.QName;
import de.gwdg.cdstar.runtime.Config;
import de.gwdg.cdstar.runtime.ConfigException;
import de.gwdg.cdstar.runtime.Plugin;
/**
* An {@link Authorizer} and {@link GroupResolver} that grants statically
......@@ -22,6 +23,7 @@ import de.gwdg.cdstar.runtime.ConfigException;
* of a realm domain. It is designed to authorize principals from other realms,
* for example LDAP.
*/
@Plugin
public class DomainAuthorizer implements Authorizer, GroupResolver {
private static final Logger log = LoggerFactory.getLogger(DomainAuthorizer.class);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment