How to use custom roster

I want to edit roster list ,Because I hava a database .I want to use my data.But the roseter hava no Interface for implemention (example:UserProvider,AuthProvider). I hope somebody can help me . I say ‘thanks’ first.