}
for ( AclEntry element : objectAcls ) {
// First, search for the user name in the objectAcls. If it's there,
// then that
// overrides anything else. It's the only acl returned.
BasicAclEntry entry = (BasicAclEntry) element;
String recipient = entry.getRecipient().toString();
// Found the user in there - That means that his/her access to the
// object
// has been spelled out. Therefore, we need to simply return that
// ACL.
if ( recipient.equals( userName ) ) {