Examples of sizeOfRealmPrincipalArray()


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

                Role role = new Role();

                String roleName = roleType.getRoleName().trim();
                role.setRoleName(roleName);

                for (int j = 0; j < roleType.sizeOfRealmPrincipalArray(); j++) {
                    role.getRealmPrincipals().add(buildRealmPrincipal(roleType.getRealmPrincipalArray(j)));
                }

                for (int j = 0; j < roleType.sizeOfLoginDomainPrincipalArray(); j++) {
                    role.getLoginDomainPrincipals().add(buildDomainPrincipal(roleType.getLoginDomainPrincipalArray(j)));
View Full Code Here

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

                if (roleType.isSetRunAsSubject()) {
                    SubjectInfo subjectInfo = buildSubjectInfo(roleType.getRunAsSubject());
                    security.getRoleSubjectMappings().put(roleName, subjectInfo);
                }

                for (int j = 0; j < roleType.sizeOfRealmPrincipalArray(); j++) {
                    role.getRealmPrincipals().add(GeronimoSecurityBuilderImpl.buildRealmPrincipal(roleType.getRealmPrincipalArray(j)));
                }

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

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

                    loginDomainPrincipal.setName(request.getParameter(prefix2 + "name"));
                    loginDomainPrincipal.setClass1(request.getParameter(prefix2 + "class"));
                    loginDomainPrincipal.setDomainName(request.getParameter(prefix2 + "domainName"));
                }

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

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

                    loginDomainPrincipal.setName(request.getParameter(prefix2 + "name"));
                    loginDomainPrincipal.setClass1(request.getParameter(prefix2 + "class"));
                    loginDomainPrincipal.setDomainName(request.getParameter(prefix2 + "domainName"));
                }

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

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

                loginDomainPrincipal.setName(request.getParameter(prefix2 + "name"));
                loginDomainPrincipal.setClass1(request.getParameter(prefix2 + "class"));
                loginDomainPrincipal.setDomainName(request.getParameter(prefix2 + "domainName"));
            }

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

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

                if (roleType.isSetRunAsSubject()) {
                    SubjectInfo subjectInfo = buildSubjectInfo(roleType.getRunAsSubject());
                    roleDesignates.put(roleName, subjectInfo);
                }

                for (int j = 0; j < roleType.sizeOfRealmPrincipalArray(); j++) {
                    Principal principal = buildRealmPrincipal(roleType.getRealmPrincipalArray(j), classLoader);
                    add(roleName, principal, principalRoleMap);
                }

                for (int j = 0; j < roleType.sizeOfLoginDomainPrincipalArray(); j++) {
View Full Code Here

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

                if (roleType.isSetRunAsSubject()) {
                    SubjectInfo subjectInfo = buildSubjectInfo(roleType.getRunAsSubject());
                    roleDesignates.put(roleName, subjectInfo);
                }

                for (int j = 0; j < roleType.sizeOfRealmPrincipalArray(); j++) {
                    Principal principal = buildRealmPrincipal(roleType.getRealmPrincipalArray(j), bundle);
                    add(roleName, principal, principalRoleMap);
                }

                for (int j = 0; j < roleType.sizeOfLoginDomainPrincipalArray(); j++) {
View Full Code Here

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

                loginDomainPrincipal.setName(request.getParameter(prefix2 + "name"));
                loginDomainPrincipal.setClass1(request.getParameter(prefix2 + "class"));
                loginDomainPrincipal.setDomainName(request.getParameter(prefix2 + "domainName"));
            }

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

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

                    loginDomainPrincipal.setName(request.getParameter(prefix2 + "name"));
                    loginDomainPrincipal.setClass1(request.getParameter(prefix2 + "class"));
                    loginDomainPrincipal.setDomainName(request.getParameter(prefix2 + "domainName"));
                }

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

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

                if (roleType.isSetRunAsSubject()) {
                    SubjectInfo subjectInfo = buildSubjectInfo(roleType.getRunAsSubject());
                    roleDesignates.put(roleName, subjectInfo);
                }

                for (int j = 0; j < roleType.sizeOfRealmPrincipalArray(); j++) {
                    Principal principal = buildRealmPrincipal(roleType.getRealmPrincipalArray(j), bundle);
                    add(roleName, principal, principalRoleMap);
                }

                for (int j = 0; j < roleType.sizeOfLoginDomainPrincipalArray(); j++) {
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.