Package org.apache.geronimo.xbeans.geronimo.security

Examples of org.apache.geronimo.xbeans.geronimo.security.GerPrincipalType


        return ConfigurationUtil.generatePrincipal(principalType.getClass1().trim(), principalType.getName().trim(), classLoader);
    }

    //used from TSSConfigEditor
    public PrincipalInfo buildPrincipal(XmlObject xmlObject) {
        GerPrincipalType principalType = (GerPrincipalType) xmlObject;
        return new PrincipalInfo(principalType.getClass1().trim(), principalType.getName().trim());
    }
View Full Code Here


                for (int i = 0; i < lastIndex; i++) {
                    String prefix2 = prefix1 + "principal" + "." + i + ".";
                    if (!map.containsKey(prefix2 + "name")) {
                        continue;
                    }
                    GerPrincipalType principal = role.addNewPrincipal();
                    principal.setName(request.getParameter(prefix2 + "name"));
                    principal.setClass1(request.getParameter(prefix2 + "class"));
                }

                for (int i = role.sizeOfLoginDomainPrincipalArray() - 1; i >= 0; i--) {
                    role.removeLoginDomainPrincipal(i);
                }
View Full Code Here

        return new LoginDomainPrincipalInfo(domainPrincipalType.getDomainName().trim(), domainPrincipalType.getClass1().trim(), domainPrincipalType.getName().trim());
    }

    //used from TSSConfigEditor
    public PrincipalInfo buildPrincipal(XmlObject xmlObject) {
        GerPrincipalType principalType = (GerPrincipalType) xmlObject;
        return new PrincipalInfo(principalType.getClass1().trim(), principalType.getName().trim());
    }
View Full Code Here

TOP

Related Classes of org.apache.geronimo.xbeans.geronimo.security.GerPrincipalType

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.