Package com.sun.security.auth

Examples of com.sun.security.auth.SolarisNumericGroupPrincipal


                                ("Failed in attempt to import " +
                                "the underlying system identity information");
        } else {
            userPrincipal = new SolarisPrincipal(ss.getUsername());
            UIDPrincipal = new SolarisNumericUserPrincipal(ss.getUid());
            GIDPrincipal = new SolarisNumericGroupPrincipal(ss.getGid(), true);
            if (ss.getGroups() != null && ss.getGroups().length > 0)
                solarisGroups = ss.getGroups();
                for (int i = 0; i < solarisGroups.length; i++) {
                    SolarisNumericGroupPrincipal ngp =
                        new SolarisNumericGroupPrincipal
                        (solarisGroups[i], false);
                    if (!ngp.getName().equals(GIDPrincipal.getName()))
                        supplementaryGroups.add(ngp);
                }
            if (debug) {
                System.out.println("\t\t[SolarisLoginModule]: " +
                        "succeeded importing info: ");
View Full Code Here


        ("Failed in attempt to import " +
        "the underlying system identity information");
  } else {
      userPrincipal = new SolarisPrincipal(ss.getUsername());
      UIDPrincipal = new SolarisNumericUserPrincipal(ss.getUid());
      GIDPrincipal = new SolarisNumericGroupPrincipal(ss.getGid(), true);
      if (ss.getGroups() != null && ss.getGroups().length > 0)
    solarisGroups = ss.getGroups();
    for (int i = 0; i < solarisGroups.length; i++) {
        SolarisNumericGroupPrincipal ngp =
      new SolarisNumericGroupPrincipal
      (solarisGroups[i], false);
        if (!ngp.getName().equals(GIDPrincipal.getName()))
      supplementaryGroups.add(ngp);
    }
      if (debug) {
    System.out.println("\t\t[SolarisLoginModule]: " +
      "succeeded importing info: ");
View Full Code Here

                                ("Failed in attempt to import " +
                                "the underlying system identity information");
        } else {
            userPrincipal = new SolarisPrincipal(ss.getUsername());
            UIDPrincipal = new SolarisNumericUserPrincipal(ss.getUid());
            GIDPrincipal = new SolarisNumericGroupPrincipal(ss.getGid(), true);
            if (ss.getGroups() != null && ss.getGroups().length > 0)
                solarisGroups = ss.getGroups();
                for (int i = 0; i < solarisGroups.length; i++) {
                    SolarisNumericGroupPrincipal ngp =
                        new SolarisNumericGroupPrincipal
                        (solarisGroups[i], false);
                    if (!ngp.getName().equals(GIDPrincipal.getName()))
                        supplementaryGroups.add(ngp);
                }
            if (debug) {
                System.out.println("\t\t[SolarisLoginModule]: " +
                        "succeeded importing info: ");
View Full Code Here

                                ("Failed in attempt to import " +
                                "the underlying system identity information");
        } else {
            userPrincipal = new SolarisPrincipal(ss.getUsername());
            UIDPrincipal = new SolarisNumericUserPrincipal(ss.getUid());
            GIDPrincipal = new SolarisNumericGroupPrincipal(ss.getGid(), true);
            if (ss.getGroups() != null && ss.getGroups().length > 0)
                solarisGroups = ss.getGroups();
                for (int i = 0; i < solarisGroups.length; i++) {
                    SolarisNumericGroupPrincipal ngp =
                        new SolarisNumericGroupPrincipal
                        (solarisGroups[i], false);
                    if (!ngp.getName().equals(GIDPrincipal.getName()))
                        supplementaryGroups.add(ngp);
                }
            if (debug) {
                System.out.println("\t\t[SolarisLoginModule]: " +
                        "succeeded importing info: ");
View Full Code Here

TOP

Related Classes of com.sun.security.auth.SolarisNumericGroupPrincipal

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.