/** * Creates a new HTTP header authentication provider module which configures * injection for the HTTPHeaderAuthenticationProvider. * * @param authProvider * The AuthenticationProvider for which injection is being configured. * * @throws GuacamoleException * If an error occurs while retrieving the Guacamole server * environment. */ public HTTPHeaderAuthenticationProviderModule(AuthenticationProvider authProvider) throws GuacamoleException { // Get local environment this.environment = new LocalEnvironment(); // Store associated auth provider this.authProvider = authProvider; }
/** * Creates a new TOTP authentication provider module which configures * injection for the TOTPAuthenticationProvider. * * @param authProvider * The AuthenticationProvider for which injection is being configured. * * @throws GuacamoleException * If an error occurs while retrieving the Guacamole server * environment. */ public TOTPAuthenticationProviderModule(AuthenticationProvider authProvider) throws GuacamoleException { // Get local environment this.environment = new LocalEnvironment(); // Store associated auth provider this.authProvider = authProvider; }
/** * Creates a new CAS authentication provider module which configures * injection for the CASAuthenticationProvider. * * @param authProvider * The AuthenticationProvider for which injection is being configured. * * @throws GuacamoleException * If an error occurs while retrieving the Guacamole server * environment. */ public CASAuthenticationProviderModule(AuthenticationProvider authProvider) throws GuacamoleException { // Get local environment this.environment = new LocalEnvironment(); // Store associated auth provider this.authProvider = authProvider; }
/** * Creates a new Duo authentication provider module which configures * injection for the DuoAuthenticationProvider. * * @param authProvider * The AuthenticationProvider for which injection is being configured. * * @throws GuacamoleException * If an error occurs while retrieving the Guacamole server * environment. */ public DuoAuthenticationProviderModule(AuthenticationProvider authProvider) throws GuacamoleException { // Get local environment this.environment = new LocalEnvironment(); // Store associated auth provider this.authProvider = authProvider; }
/** * Creates a new OpenID authentication provider module which configures * injection for the OpenIDAuthenticationProvider. * * @param authProvider * The AuthenticationProvider for which injection is being configured. * * @throws GuacamoleException * If an error occurs while retrieving the Guacamole server * environment. */ public OpenIDAuthenticationProviderModule(AuthenticationProvider authProvider) throws GuacamoleException { // Get local environment this.environment = new LocalEnvironment(); // Store associated auth provider this.authProvider = authProvider; }
/** * Creates a new LDAP authentication provider module which configures * injection for the LDAPAuthenticationProvider. * * @param authProvider * The AuthenticationProvider for which injection is being configured. * * @throws GuacamoleException * If an error occurs while retrieving the Guacamole server * environment. */ public LDAPAuthenticationProviderModule(AuthenticationProvider authProvider) throws GuacamoleException { // Get local environment this.environment = new LocalEnvironment(); // Store associated auth provider this.authProvider = authProvider; }
Environment environment = new LocalEnvironment(); GuacamoleProxyConfiguration proxyConfig = environment.getDefaultGuacamoleProxyConfiguration();