Examples of CSIdentityIsMemberOfGroup()


Examples of us.carrclan.david.authc4j.mac.bindings.CoreServicesLibrary.CSIdentityIsMemberOfGroup()

    private Set<GroupInformation> createMemberGroupInformation(
            CSIdentityRef userIdentity, List<CSIdentityRef> groupIdentities) {
        CoreServicesLibrary csLibrary = CoreServicesLibrary.INSTANCE;
        Set<GroupInformation> memberGroupInfo = new LinkedHashSet<>();
        for (CSIdentityRef groupIdentity : groupIdentities) {
            if (csLibrary.CSIdentityIsMemberOfGroup(userIdentity, groupIdentity)) {
                memberGroupInfo.add(groupInformationCreator.createGroupInformation(groupIdentity));
            }
        }
        return memberGroupInfo;
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.