Repository repository = new
RMIRemoteRepository("//localhost:1099/jackrabbit.repository");
SimpleCredentials c = new
SimpleCredentials("alex","surname".toCharArray());
Session s = repository.login(c, "workspace");
String[]attr=s.getAttributeNames();

the array is empty. why?

what kind of attributes should be returned?I guess username
and password
specified in the SimpleCredentials object.

Reply via email to