PasswordHasherFactory follows jar service provider specification, somehow the file under META-INF/services cannot be loaded by contextClassLoader. This is found on jboss 4.0.5 environment. For now the recommended approach is to use properties file based extension.