jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Jackrabbit Wiki] Update of "UserManagement" by gayatrimehra
Date Wed, 03 Apr 2013 21:47:35 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Jackrabbit Wiki" for change notification.

The "UserManagement" page has been changed by gayatrimehra:
http://wiki.apache.org/jackrabbit/UserManagement?action=diff&rev1=9&rev2=10

  }}}
  -->> Retrieve all available users from the repo
  {{{
+ final List<String> users = new ArrayList<String>();
  
  final UserManager userManager = ((JackrabbitSession) session)
  					.getUserManager();
  Iterator<Authorizable> iter = userManager.findAuthorizables(
  	"jcr:primaryType", "rep:User");
+ 
  while (iter.hasNext()) {
  Authorizable auth = iter.next();
  if (!auth.isGroup()) {

Mime
View raw message