Package org.apache.geronimo.jee.security

Examples of org.apache.geronimo.jee.security.Role


    public String[] getRolesWithoutRunAsSubject() {
        List<Role> roles = SecurityRoleMappingSection.getRoles(getPlan(), false);
        List<Role> rolesWithoutRunAsSubject = new ArrayList<Role>();
        for (int i = 0; i < roles.size(); i++) {
            Role role = roles.get(i);
            if(role.getRunAsSubject() == null) {
                rolesWithoutRunAsSubject.add(role);
            }
        }
        String[] roleNames = new String[rolesWithoutRunAsSubject.size()];
        for (int i = 0; i < rolesWithoutRunAsSubject.size(); i++) {
View Full Code Here

TOP

Related Classes of org.apache.geronimo.jee.security.Role

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.