code: public DeploymentInfo addAuthenticationMechanism(final String name, final AuthenticationMechanismFactory factory) {
          authenticationMechanisms.put(name.toUpperCase(Locale.US), factory);
          return this;
      }
docs: Adds an authentication mechanism. The name is case insenstive, and will be converted to uppercase internally.
  
  @param name    The name
  @param factory The factory
  @return