@Test public void testIsApplicableWithUserAndPassword() { AnonymousMechanism mech = new AnonymousMechanism(); assertTrue("Should be applicable with user and password", mech.isApplicable("user", "password", null)); }
@Override public boolean isApplicable(String username, String password, Principal localPrincipal) { return true; }
AnonymousMechanism extends AbstractMechanism { @Override public boolean isApplicable(String username, String password, Principal localPrincipal) { return true; } }
AnonymousMechanism extends AbstractMechanism { @Override public boolean isApplicable(String username, String password, Principal localPrincipal) { return true; }  }
AnonymousMechanism extends AbstractMechanism { @Override public boolean isApplicable(String username, String password, Principal localPrincipal) { return true; }  @Override byte[] getInitialResponse(); @Override byte[] getChallengeResponse(byte[] challenge); @Override int getPriority(); @Override String getName(); @Override boolean isApplicable(String username, String password, Principal localPrincipal); }
AnonymousMechanism extends AbstractMechanism { @Override public boolean isApplicable(String username, String password, Principal localPrincipal) { return true; }  @Override byte[] getInitialResponse(); @Override byte[] getChallengeResponse(byte[] challenge); @Override int getPriority(); @Override String getName(); @Override boolean isApplicable(String username, String password, Principal localPrincipal);  }