Class UserGroupService


  • @Named
    public class UserGroupService
    extends Object
    It's utility service which applications uses in custom authentication scripts
    Version:
    0.9, 27/07/2012
    Author:
    Yuriy Zabrovarnyy, Yuriy Movchan Date: 04/11/2014
    • Constructor Detail

      • UserGroupService

        public UserGroupService()
    • Method Detail

      • isUserInGroup

        public boolean isUserInGroup​(String groupDN,
                                     String userDN)
      • isUserInGroupOrMember

        public boolean isUserInGroupOrMember​(String groupDn,
                                             String personDn)
      • isInAnyGroup

        public boolean isInAnyGroup​(String[] groupDNs,
                                    String userDN)
      • isInAnyGroup

        public boolean isInAnyGroup​(List<String> groupDNs,
                                    String userDN)