@Test void testIsPasswordHeaderCheckEnabled() { RequestValidator validator = new RequestValidator(PROPERTY_VALIDATOR, true); assertTrue(validator.isPasswordHeaderCheckEnabled()); validator = new RequestValidator(PROPERTY_VALIDATOR, false); assertFalse(validator.isPasswordHeaderCheckEnabled()); }
public boolean isPasswordHeaderCheckEnabled() { return passwordHeaderCheckEnabled; }
RequestValidator { public boolean isPasswordHeaderCheckEnabled() { return passwordHeaderCheckEnabled; } }
RequestValidator { public boolean isPasswordHeaderCheckEnabled() { return passwordHeaderCheckEnabled; } @Inject  RequestValidator(PropertyValidator propertyValidator, boolean passwordHeaderCheckEnabled); }
RequestValidator { public boolean isPasswordHeaderCheckEnabled() { return passwordHeaderCheckEnabled; } @Inject  RequestValidator(PropertyValidator propertyValidator, boolean passwordHeaderCheckEnabled); void validate(User user); void validate(String password, String email, boolean tokenAsPassword); void validate(String password, String email, User user); boolean isPasswordHeaderCheckEnabled(); }
RequestValidator { public boolean isPasswordHeaderCheckEnabled() { return passwordHeaderCheckEnabled; } @Inject  RequestValidator(PropertyValidator propertyValidator, boolean passwordHeaderCheckEnabled); void validate(User user); void validate(String password, String email, boolean tokenAsPassword); void validate(String password, String email, User user); boolean isPasswordHeaderCheckEnabled();  }