private void processSecurityRoles(List<SecurityRole> securityRoles) {
        for (SecurityRole securityRole : securityRoles) {
            if (!allRoles.contains(securityRole.getRoleName())) {
                allRoles.add(securityRole.getRoleName());
            }
        }
        if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
            Tr.debug(tc, "allRoles: " + allRoles);
        }
    }
private void processSecurityRoles ( List < SecurityRole > securityRoles ) { for ( SecurityRole securityRole : securityRoles ) { if ( ! allRoles . contains ( securityRole . getRoleName ( ) ) ) { allRoles . add ( securityRole . getRoleName ( ) ) ; } } if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isDebugEnabled ( ) ) { Tr . debug ( tc , "allRoles: " + allRoles ) ; } }
Create a list of roles that represent the security-role elements in the web.xml and/or web-fragment.xml

@param securityRoles a list of security roles