Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
0.9, 1.0, 1.1, 1.2.1, 1.3, 1.4, 1.5, 1.5.2
-
None
Description
Repository repository = new RMIRemoteRepository("//localhost:1099/jackrabbit.repository");
SimpleCredentials c = new SimpleCredentials("alex","ok".toCharArray());
c.setAttribute("anAttribute", "aValue");
Session s = repository.login(c, "aWorkspace");
String[]attr=s.getAttributeNames();
array attr is empty.
according to docs it should contains attributes from the SimpleCredentials object.