Examples of sizeOfPrincipalArray()


Examples of org.apache.geronimo.xbeans.geronimo.security.GerRealmType.sizeOfPrincipalArray()

                    String realmName = realmType.getRealmName().trim();
                    Realm realm = new Realm();

                    realm.setRealmName(realmName);

                    for (int k = 0; k < realmType.sizeOfPrincipalArray(); k++) {
                        realm.getPrincipals().add(buildPrincipal(realmType.getPrincipalArray(k)));
                    }

                    role.getRealms().put(realmName, realm);
                }
View Full Code Here

Examples of org.apache.geronimo.xbeans.geronimo.security.GerRealmType.sizeOfPrincipalArray()

                        GerRealmType realmType = roleType.getRealmArray(j);
                        Realm realm = new Realm();

                        realm.setRealmName(realmType.getRealmName());

                        for (int k = 0; k < realmType.sizeOfPrincipalArray(); k++) {
                            realm.getPrincipals().add(buildPrincipal(realmType.getPrincipalArray(k)));
                        }

                        role.getRealms().add(realm);
                    }
View Full Code Here

Examples of org.apache.geronimo.xbeans.geronimo.security.GerRoleType.sizeOfPrincipalArray()

                for (int j = 0; j < roleType.sizeOfLoginDomainPrincipalArray(); j++) {
                    role.getLoginDomainPrincipals().add(buildDomainPrincipal(roleType.getLoginDomainPrincipalArray(j)));
                }

                for (int j = 0; j < roleType.sizeOfPrincipalArray(); j++) {
                    role.getPrincipals().add(buildPrincipal(roleType.getPrincipalArray(j)));
                }

                for (int j = 0; j < roleType.sizeOfDistinguishedNameArray(); j++) {
                    GerDistinguishedNameType dnType = roleType.getDistinguishedNameArray(j);
View Full Code Here

Examples of org.apache.geronimo.xbeans.geronimo.security.GerRoleType.sizeOfPrincipalArray()

                for (int j = 0; j < roleType.sizeOfLoginDomainPrincipalArray(); j++) {
                    role.getLoginDomainPrincipals().add(GeronimoSecurityBuilderImpl.buildDomainPrincipal(roleType.getLoginDomainPrincipalArray(j)));
                }

                for (int j = 0; j < roleType.sizeOfPrincipalArray(); j++) {
                    role.getPrincipals().add(buildPrincipal(roleType.getPrincipalArray(j)));
                }

                security.getRoleMappings().put(roleName, role);
            }
View Full Code Here

Examples of org.apache.geronimo.xbeans.geronimo.security.GerRoleType.sizeOfPrincipalArray()

            GerRoleType[] roles = security.getRoleMappings().getRoleArray();
            for (int index = 0; index < roles.length; index++) {
                String prefix1 = "security.roleMappings" + "." + index + ".";
                GerRoleType role = roles[index];

                for (int i = role.sizeOfPrincipalArray() - 1; i >= 0; i--) {
                    role.removePrincipal(i);
                }
                int lastIndex = Integer.parseInt(request.getParameter(prefix1 + "principal.lastIndex"));
                for (int i = 0; i < lastIndex; i++) {
                    String prefix2 = prefix1 + "principal" + "." + i + ".";
View Full Code Here

Examples of org.apache.geronimo.xbeans.geronimo.security.GerRoleType.sizeOfPrincipalArray()

            GerRoleType[] roles = security.getRoleMappings().getRoleArray();
            for (int index = 0; index < roles.length; index++) {
                String prefix1 = "security.roleMappings" + "." + index + ".";
                GerRoleType role = roles[index];

                for (int i = role.sizeOfPrincipalArray() - 1; i >= 0; i--) {
                    role.removePrincipal(i);
                }
                int lastIndex = Integer.parseInt(request.getParameter(prefix1 + "principal.lastIndex"));
                for (int i = 0; i < lastIndex; i++) {
                    String prefix2 = prefix1 + "principal" + "." + i + ".";
View Full Code Here

Examples of org.apache.geronimo.xbeans.geronimo.security.GerRoleType.sizeOfPrincipalArray()

        GerRoleType[] roles = security.getRoleMappings().getRoleArray();
        for (int index = 0; index < roles.length; index++) {
            String prefix1 = "security.roleMappings" + "." + index + ".";
            GerRoleType role = roles[index];

            for (int i = role.sizeOfPrincipalArray() - 1; i >= 0; i--) {
                role.removePrincipal(i);
            }
            int lastIndex = Integer.parseInt(request.getParameter(prefix1 + "principal.lastIndex"));
            for (int i = 0; i < lastIndex; i++) {
                String prefix2 = prefix1 + "principal" + "." + i + ".";
View Full Code Here

Examples of org.apache.geronimo.xbeans.geronimo.security.GerRoleType.sizeOfPrincipalArray()

                for (int j = 0; j < roleType.sizeOfLoginDomainPrincipalArray(); j++) {
                    Principal principal = buildDomainPrincipal(roleType.getLoginDomainPrincipalArray(j), classLoader);
                    add(roleName, principal, principalRoleMap);
                }

                for (int j = 0; j < roleType.sizeOfPrincipalArray(); j++) {
                    Principal principal = buildPrincipal(roleType.getPrincipalArray(j), classLoader);
                    add(roleName, principal, principalRoleMap);
                }

            }
View Full Code Here

Examples of org.apache.geronimo.xbeans.geronimo.security.GerRoleType.sizeOfPrincipalArray()

                for (int j = 0; j < roleType.sizeOfLoginDomainPrincipalArray(); j++) {
                    Principal principal = buildDomainPrincipal(roleType.getLoginDomainPrincipalArray(j), bundle);
                    add(roleName, principal, principalRoleMap);
                }

                for (int j = 0; j < roleType.sizeOfPrincipalArray(); j++) {
                    Principal principal = buildPrincipal(roleType.getPrincipalArray(j), bundle);
                    add(roleName, principal, principalRoleMap);
                }

            }
View Full Code Here

Examples of org.apache.geronimo.xbeans.geronimo.security.GerRoleType.sizeOfPrincipalArray()

        GerRoleType[] roles = security.getRoleMappings().getRoleArray();
        for (int index = 0; index < roles.length; index++) {
            String prefix1 = "security.roleMappings" + "." + index + ".";
            GerRoleType role = roles[index];

            for (int i = role.sizeOfPrincipalArray() - 1; i >= 0; i--) {
                role.removePrincipal(i);
            }
            int lastIndex = Integer.parseInt(request.getParameter(prefix1 + "principal.lastIndex"));
            for (int i = 0; i < lastIndex; i++) {
                String prefix2 = prefix1 + "principal" + "." + i + ".";
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.