title: Change Guice Configuration on Parameter
body: <p>Lets say I have a class that verifies passwords according to a set of rules. How exactly this password is verified, depends on the person that calls the server. Each different kind of person has a different implementation for some rules. Lets say the LengthRule would requiere a length of 12 in a strict validation 8 in a normal validation and 5 in a lax validation.<br>
  <strong>What is the best way to change the binding of all rules according to the passed parameter</strong>, for example group wirings and switch them dynamically?</p>
  
  <pre><code>public void verifyPassword(String password, Person person) {
      if (isBusinessClient(person)) {
              // Apply strict wiring  
              PasswordChecker checker = new PasswordChecker();
              passwordChecker.check(password)
      } else if (wasBusinessClient(person)) {
              // Apply normal wiring 
              PasswordChecker checker = new PasswordChecker();
              passwordChecker.check(password)
      } else {
              // Apply lax wiring
              PasswordChecker checker = new PasswordChecker();
              passwordChecker.check(password)
      }
  }
  </code></pre>