}
    private void insertAvailableEndEntityProfileAccessRules(Admin admin, ArrayList accessrules){                // Add most basic rule if authorized to it.		try{		  authorizer.isAuthorizedNoLog(admin, ENDENTITYPROFILEBASE);  		  accessrules.add(ENDENTITYPROFILEBASE);		}catch(AuthorizationDeniedException e){          //  Add it to superadministrator anyway				 if(issuperadministrator)				   accessrules.add(ENDENTITYPROFILEBASE);		}		                // Add all authorized End Entity Profiles                            Iterator iter = raadminsession.getAuthorizedEndEntityProfileIds(admin).iterator();        while(iter.hasNext()){            // Check if profiles available CAs is a subset of administrators authorized CAs            int profileid = ((Integer) iter.next()).intValue();                          // Administrator is authorized to this End Entity Profile, add it.                try{                  authorizer.isAuthorizedNoLog(admin, ENDENTITYPROFILEPREFIX + profileid);                    addEndEntityProfile( profileid, accessrules);                }catch(AuthorizationDeniedException e){}                    }    }