Package com.sun.enterprise.deployment.web

Examples of com.sun.enterprise.deployment.web.SecurityRoleReference


        assert pc != null;
        if (pc != null) {
            String eName = eDescriptor.getName();
            Iterator iroleref = eDescriptor.getRoleReferences().iterator();
            while (iroleref.hasNext()) {
                SecurityRoleReference roleRef =
                        (SecurityRoleReference) iroleref.next();
                String rolename = roleRef.getRolename();
                EJBRoleRefPermission ejbrr =
                        new EJBRoleRefPermission(eName, rolename);
                String rolelink = roleRef.getSecurityRoleLink().getName();

                pc.addToRole(rolelink, ejbrr);

                if (_logger.isLoggable(Level.FINE)) {
                    _logger.fine("JACC: Converting role-ref -> " + roleRef.toString() +
                            " to permission with name(" + ejbrr.getName() +
                            ") and actions (" + ejbrr.getActions() +
                            ")" + "mapped to role (" + rolelink + ")");
                }
            }
View Full Code Here


            }
        }
        for (Iterator<SecurityRoleReference> secRoleRefIter =
                other.getSecurityRoleReferenceSet().iterator();
             secRoleRefIter.hasNext();) {
            SecurityRoleReference secRoleRef =
                    secRoleRefIter.next();
            if (getSecurityRoleReferenceByName(secRoleRef.getRoleName())
                    == null) {
                getSecurityRoleReferenceSet().add(secRoleRef);
            }
        }
View Full Code Here

            }
        }
        for (Iterator<SecurityRoleReference> secRoleRefIter =
                other.getSecurityRoleReferenceSet().iterator();
             secRoleRefIter.hasNext();) {
            SecurityRoleReference secRoleRef =
                    secRoleRefIter.next();
            if (getSecurityRoleReferenceByName(secRoleRef.getRoleName())
                    == null) {
                getSecurityRoleReferenceSet().add(secRoleRef);
            }
        }
View Full Code Here

TOP

Related Classes of com.sun.enterprise.deployment.web.SecurityRoleReference

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.