Gitlab Community Edition Instance
Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cdstar
cdstar
Commits
3dfd1fe3
Commit
3dfd1fe3
authored
Nov 21, 2019
by
mhellka
Browse files
Make DomainAuthorizer a discoverable Plugin
parent
f98cc77c
Pipeline
#114777
passed with stages
in 7 minutes and 59 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
cdstar-auth/src/main/java/de/gwdg/cdstar/auth/realm/DomainAuthorizer.java
View file @
3dfd1fe3
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment