mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 13:17:41 +00:00
GUACAMOLE-136: Rename overly-generic AuthenticationProviderService to UserVerificationService.
This commit is contained in:
@@ -78,11 +78,11 @@ public class DuoAuthenticationProvider implements AuthenticationProvider {
|
||||
public UserContext getUserContext(AuthenticatedUser authenticatedUser)
|
||||
throws GuacamoleException {
|
||||
|
||||
AuthenticationProviderService authProviderService =
|
||||
injector.getInstance(AuthenticationProviderService.class);
|
||||
UserVerificationService verificationService =
|
||||
injector.getInstance(UserVerificationService.class);
|
||||
|
||||
// Verify user against Duo service
|
||||
authProviderService.verifyAuthenticatedUser(authenticatedUser);
|
||||
verificationService.verifyAuthenticatedUser(authenticatedUser);
|
||||
|
||||
// User has been verified, and authentication should be allowed to
|
||||
// continue
|
||||
|
@@ -72,9 +72,9 @@ public class DuoAuthenticationProviderModule extends AbstractModule {
|
||||
bind(Environment.class).toInstance(environment);
|
||||
|
||||
// Bind Duo-specific services
|
||||
bind(AuthenticationProviderService.class);
|
||||
bind(ConfigurationService.class);
|
||||
bind(DuoWebService.class);
|
||||
bind(UserVerificationService.class);
|
||||
|
||||
}
|
||||
|
||||
|
@@ -33,10 +33,9 @@ import org.apache.guacamole.net.auth.credentials.CredentialsInfo;
|
||||
import org.apache.guacamole.net.auth.credentials.GuacamoleInsufficientCredentialsException;
|
||||
|
||||
/**
|
||||
* Service providing convenience functions for the Duo AuthenticationProvider
|
||||
* implementation.
|
||||
* Service for verifying the identity of a user against Duo.
|
||||
*/
|
||||
public class AuthenticationProviderService {
|
||||
public class UserVerificationService {
|
||||
|
||||
/**
|
||||
* Service for retrieving Duo configuration information.
|
Reference in New Issue
Block a user