GUACAMOLE-96: Add API support for augmenting functionality of other extensions.

This commit is contained in:
Michael Jumper committed 2018-01-13 17:22:48 -08:00
1 parent 00d464b511
commit ffad1898b6
9 files changed
+100

No files matched your search

@@ -107,6 +107,13 @@ public class CASAuthenticationProvider implements AuthenticationProvider {
}
@Override
public UserContext decorate(UserContext context,
AuthenticatedUser authenticatedUser, Credentials credentials)
throws GuacamoleException {
return context;
}
@Override
public void shutdown() {
// Do nothing
@@ -102,6 +102,13 @@ public class DuoAuthenticationProvider implements AuthenticationProvider {
return context;
}
@Override
public UserContext decorate(UserContext context,
AuthenticatedUser authenticatedUser, Credentials credentials)
throws GuacamoleException {
return context;
}
@Override
public void shutdown() {
// Do nothing
@@ -107,6 +107,13 @@ public class HTTPHeaderAuthenticationProvider implements AuthenticationProvider
}
@Override
public UserContext decorate(UserContext context,
AuthenticatedUser authenticatedUser, Credentials credentials)
throws GuacamoleException {
return context;
}
@Override
public void shutdown() {
// Do nothing
@@ -104,6 +104,13 @@ public abstract class InjectedAuthenticationProvider implements AuthenticationPr
authenticatedUser, credentials);
}
@Override
public UserContext decorate(UserContext context,
AuthenticatedUser authenticatedUser, Credentials credentials)
throws GuacamoleException {
return context;
}
@Override
public void shutdown() {
// Do nothing
@@ -103,6 +103,13 @@ public class LDAPAuthenticationProvider implements AuthenticationProvider {
return context;
}
@Override
public UserContext decorate(UserContext context,
AuthenticatedUser authenticatedUser, Credentials credentials)
throws GuacamoleException {
return context;
}
@Override
public void shutdown() {
// Do nothing
@@ -107,6 +107,13 @@ public class OpenIDAuthenticationProvider implements AuthenticationProvider {
}
@Override
public UserContext decorate(UserContext context,
AuthenticatedUser authenticatedUser, Credentials credentials)
throws GuacamoleException {
return context;
}
@Override
public void shutdown() {
// Do nothing