Package org.apache.harmony.auth

Examples of org.apache.harmony.auth.UnixPrincipal


        return true;
    }

    private void getPrinclpalsFromJndi() {
        unixPrincipal = new UnixPrincipal(userID);
        unixNumericUserPrincipal = new UnixNumericUserPrincipal(uidNumber);
        unixNumericGroupPrincipals = new HashSet<UnixNumericGroupPrincipal>();
        unixNumericGroupPrincipals.add(new UnixNumericGroupPrincipal(gidNumber,
                true));
    }
View Full Code Here


        return true;
    }

    private void getPrinclpalsFromJndi() {
        unixPrincipal = new UnixPrincipal(userID);
        unixNumericUserPrincipal = new UnixNumericUserPrincipal(uidNumber);
        unixNumericGroupPrincipals = new HashSet<UnixNumericGroupPrincipal>();
        unixNumericGroupPrincipals.add(new UnixNumericGroupPrincipal(gidNumber,
                true));
    }
View Full Code Here

        if (usys == null) {
            usys = new UnixSystem();
        }
        usys.load();

        user = new UnixPrincipal(usys.getUsername());
        uid = new UnixNumericUserPrincipal(usys.getUid());
        gid = new UnixNumericGroupPrincipal(usys.getGid(), usys.getGroupName(),
                true);
        long[] gs = usys.getGroups();
        String[] gns = usys.getGroupNames();
View Full Code Here

TOP

Related Classes of org.apache.harmony.auth.UnixPrincipal

Copyright © 2018 www.massapicom. 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.