final int roleStart = AvailableSettings.JACC_PREFIX.length() + 1;
final String role = key.substring( roleStart, key.indexOf( '.', roleStart ) );
final int classStart = roleStart + role.length() + 1;
final String clazz = key.substring( classStart, key.length() );
grantedJaccPermissions.add( new GrantedPermission( role, clazz, (String) value ) );
}
catch ( IndexOutOfBoundsException e ) {
throw persistenceException( "Illegal usage of " + AvailableSettings.JACC_PREFIX + ": " + key );
}
}