return Util.<PrincipalRoleMapper>getInstance(mapperClass, holder.getClassLoader());
}
private void parseGlobalRole(XMLExtendedStreamReader reader, GlobalAuthorizationConfigurationBuilder builder) throws XMLStreamException {
String[] attributes = ParseUtils.requireAttributes(reader, Attribute.NAME.getLocalName(), Attribute.PERMISSIONS.getLocalName());
GlobalRoleConfigurationBuilder role = builder.role(attributes[0]);
for(String permission : attributes[1].split("\\s+")) {
role.permission(permission);
}
for (int i = 0; i < reader.getAttributeCount(); i++) {
ParseUtils.requireNoNamespaceAttribute(reader, i);
Attribute attribute = Attribute.forName(reader.getAttributeLocalName(i));
switch (attribute) {