mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 05:07:41 +00:00
GUACAMOLE-1851: Merge corrections to Guice dependency injection within RequestValidationService.
This commit is contained in:
@@ -42,16 +42,18 @@ public class RequestValidationService {
|
|||||||
* Service for retrieving configuration information regarding the
|
* Service for retrieving configuration information regarding the
|
||||||
* JSONAuthenticationProvider.
|
* JSONAuthenticationProvider.
|
||||||
*/
|
*/
|
||||||
@Inject
|
|
||||||
private ConfigurationService confService;
|
private ConfigurationService confService;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructor that enables passing of an instance of
|
* Create a new instance of the request validation service, with the
|
||||||
* ConfigurationService. (Only used for unit testing)
|
* provided ConfigurationService object used to retrieve configuration
|
||||||
|
* properties for this extension.
|
||||||
*
|
*
|
||||||
* @param confService
|
* @param confService
|
||||||
* The (mock) instance of ConfigurationService
|
* The instance of ConfigurationService for retrieving configuration
|
||||||
|
* properties for this extension.
|
||||||
*/
|
*/
|
||||||
|
@Inject
|
||||||
public RequestValidationService(ConfigurationService confService) {
|
public RequestValidationService(ConfigurationService confService) {
|
||||||
this.confService = confService;
|
this.confService = confService;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user