Examples of ImmutableUserInformation


Examples of us.carrclan.david.authc4j.api.ImmutableUserInformation

    }

    @Override
    public void receiveUserInfo(String name, String fullName) {
        Set<? extends GroupInformation> groups = getGroups(name);
        userInformationSet.add(new ImmutableUserInformation(source, name, fullName, groups));
    }
View Full Code Here

Examples of us.carrclan.david.authc4j.api.ImmutableUserInformation

    UserInformation createUserInformation(CSIdentityRef userIdentity, List<CSIdentityRef> groupIdentities) {
        CoreServicesLibrary csLibrary = CoreServicesLibrary.INSTANCE;
        String shortName = StringUtils.toString(csLibrary.CSIdentityGetPosixName(userIdentity));
        String longName = StringUtils.toString(csLibrary.CSIdentityGetFullName(userIdentity));
        Set<GroupInformation> memberGroupInformation = createMemberGroupInformation(userIdentity, groupIdentities);
        return new ImmutableUserInformation(source, shortName, longName, memberGroupInformation);
    }
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.