This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Class UserPrincipalLookupService 1.abstract GroupPrincipal lookupPrincipalByGroupName(String group)
Lookup a group principal by group name.
2.abstract UserPrincipal lookupPrincipalByName(String name)
Lookup a user principal by name.
I've implemented second method lookupPrincipalByName() method through Files.get/setOwner() methods, and that means we are getting and setting file owner name but please explain me what is group name in context of a file ,what is use of that ?