Authenticator authenticator = new TextMatchAuthenticator();
Authenticator authenticator = (Authenticator) RegistryManager.getInstance().getRegistry().getService("fulcrum.security.authenticatorTextMatch", Authenticator.class);;
    public void testAuthenticate() throws Exception    {    	User user = new DynamicUser();    	user.setName("Bob");    	user.setPassword("myPassword");    	Authenticator authenticator = new TextMatchAuthenticator();		assertTrue(authenticator.authenticate(user,"myPassword"));		assertFalse(authenticator.authenticate(user,"mypassword"));    }