I'm using java.nio.file.attribute.AclFileAttributeView and AclEntry in order to collect all files ACL on a system. Things are quite straight forward until I realized the library has no method to check whether the principal is an user or a group. I'm using java.nio.file.attribute.AclFileAttrib