Where an implementation does not support any notion of group then this method always throws {@link UserPrincipalNotFoundException}. Where the namespace for user accounts and groups is the same, then this method is identical to invoking {@link #lookupPrincipalByName lookupPrincipalByName}. @param group the string representation of the group to lookup @return a group principal @throws UserPrincipalNotFoundException the principal does not exist or is not a group @throws IOException if an I/O error occurs @throws SecurityException In the case of the default provider, and a security manager is installed, it checks {@link RuntimePermission}("lookupUserInformation")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|